Overview
Table of contents
- EProps (interface)
- FlexContainerProps (interface)
- FlexItemProps (interface)
- Props (interface)
- SProps (interface)
- Rule (type alias)
- flexContainerRule (constant)
- flexItemRule (constant)
- ruleModule (constant)
EProps (interface)
Signature
interface EProps {}
Added in v0.2.0
FlexContainerProps (interface)
Signature
interface FlexContainerProps {
/**
*Align the flex items
*/
mkFlexAlign?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'inherit'
/**
*Align the flex lines.
*/
mkFlexAlignLines?:
| 'space-around'
| 'space-between'
| 'space-evenly'
| 'stretch'
| 'center'
| 'end'
| 'flex-end'
| 'flex-start'
| 'start'
| 'inherit'
/**
*Align the flex items vertically.
*/
mkFlexAlignV?: 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline' | 'inherit'
/**
*The direction to stack the flex items.
*/
mkFlexDirection?: 'row' | 'row-reverse' | 'column' | 'column-reverse' | 'inherit'
/**
*Items should wrap or not.
*/
mkFlexWrap?: 'nowrap' | 'wrap' | 'wrap-reverse' | 'inherit'
}
Added in v0.2.0
FlexItemProps (interface)
Signature
interface FlexItemProps {
/**
*Align the flex item
*/
mkFlexItemAlign?:
| 'center'
| 'end'
| 'flex-end'
| 'flex-start'
| 'self-end'
| 'self-start'
| 'start'
| 'auto'
| 'baseline'
| 'left'
| 'normal'
| 'right'
| 'stretch'
| 'inherit'
/**
*Align the flex item vertically.
*/
mkFlexItemAlignV?:
| 'center'
| 'end'
| 'flex-end'
| 'flex-start'
| 'self-end'
| 'self-start'
| 'start'
| 'auto'
| 'baseline'
| 'normal'
| 'stretch'
| 'inherit'
/**
*The item will grow relative to the flex items.
*/
mkFlexItemGrow?: number
/**
*The order of the flex item.
*/
mkFlexItemOrder?: number
/**
*The item will shrink relative to the flex items.
*/
mkFlexItemShrink?: number
/**
*The initial length of a item.
*/
mkFlexItemWidth?: number | string
}
Added in v0.2.0
Props (interface)
Flex properties
Signature
interface Props extends SProps, EProps {}
Added in v0.2.0
SProps (interface)
Signature
interface SProps extends FlexContainerProps, FlexItemProps {}
Added in v0.2.0
Rule (type alias)
Signature
export type Rule = ExtendRule<ParentRule, Props, {}>
Added in v0.2.0
flexContainerRule (constant)
Signature
export const flexContainerRule: ExtendRule<ParentRule, FlexContainerProps, {}> = ...
Added in v0.2.0
flexItemRule (constant)
Signature
export const flexItemRule: ExtendRule<ParentRule, FlexItemProps, {}> = ...
Added in v0.2.0
ruleModule (constant)
Signature
export const ruleModule: any = ...
Added in v0.2.0