export type SpaceSize = 'small' | 'medium' | 'large' | string | number | Array<string | number>
export type SpaceAlign = 'stretch' | 'start' | 'center' | 'end' | 'baseline'
export type SpaceJustify = 'start' | 'center' | 'end' | 'space-around' | 'space-between' | 'space-evenly'
export type SpaceDirection = 'row' | 'column'
export interface ISpaceProps {
size?: SpaceSize
align?: SpaceAlign
justify?: SpaceJustify
direction?: SpaceDirection
wrap?: boolean
order?: any[]
customClass?: string
customStyle?: string | Record<string, any>
}
export interface ISpaceApi {
state: {
direction: SpaceDirection
align: SpaceAlign
justify: SpaceJustify
wrap: boolean
gapStyle: Record<string, string>
}
}