2.2.0-alpha.0 • Published 4 years ago
householdjs v2.2.0-alpha.0
Typescript Documentation generated by TypeDoc
<FlexParent />
props:
alignItems?: string justifyContent?: string wrap?: boolean column?: boolean reverse?: boolean fillHeight?: boolean isInline?: boolean withBottomSpacing?: boolean | 'huge' | 'big' | 'default' | 'small' | 'tiny' | string height?: string background?: string backgroundColor?: string isRelative?: boolean withPointer?: boolean fullWidth?: boolean maxWidth?: string withTransition?: boolean | { transitionProperties?: string | Array<string> transitionOptions?: { timing?: string durationInMs?: number willChange?: boolean } disableTransitions?: boolean }
- common element attributes
- styled components props, e.g
as
=> https://www.styled-components.com/docs/api
<FlexChild />
props:
grow?: boolean | number
shrink?: boolean | number
width?: string
noFontSize?: boolean
justifySelfEnd?: boolean
withBottomSpacing?: boolean | 'huge' | 'big' | 'default' | 'small' | 'tiny' | string
height?: string
background?: string
backgroundColor?: string
isRelative?: boolean
withPointer?: boolean
withTransition?: boolean | {
transitionProperties?: string | Array<string>
transitionOptions?: {
timing?: string
durationInMs?: number
willChange?: boolean
}
disableTransitions?: boolean
}
+ common <div> element attributes
+ styled components props, e.g `as` => https://www.styled-components.com/docs/api
<SimpleWrapper />
props:
center?: boolean isInline?: boolean withBottomSpacing?: boolean | 'huge' | 'big' | 'default' | 'small' | 'tiny' | string height?: string background?: string backgroundColor?: string isRelative?: boolean withPointer?: boolean fullWidth?: boolean maxWidth?: string withBefore?: CSSObject withAfter?: CSSObject withTransition?: boolean | { transitionProperties?: string | Array<string> transitionOptions?: { timing?: string durationInMs?: number willChange?: boolean } disableTransitions?: boolean }
common element attributes
- styled components props, e.g
as
=> https://www.styled-components.com/docs/api
<Positioned />
props:
top?: boolean | string right?: boolean | string bottom?: boolean | string left?: boolean | string all?: boolean | string vertical?: boolean | string horizontal?: boolean | string zIndex?: number position?: 'absolute' | 'fixed' | 'relative' withTransition?: boolean | { transitionProperties?: string | Array<string> transitionOptions?: { timing?: string durationInMs?: number willChange?: boolean } disableTransitions?: boolean }
- common element attributes
- styled components props, e.g
as
=> https://www.styled-components.com/docs/api
<Spacer />
props:
top?: boolean | 'huge' | 'big' | 'default' | 'small' | 'tiny' | string right?: boolean | 'huge' | 'big' | 'default' | 'small' | 'tiny' | string bottom?: boolean | 'huge' | 'big' | 'default' | 'small' | 'tiny' | string left?: boolean | 'huge' | 'big' | 'default' | 'small' | 'tiny' | string all?: boolean | 'huge' | 'big' | 'default' | 'small' | 'tiny' | string vertical?: boolean | 'huge' | 'big' | 'default' | 'small' | 'tiny' | string horizontal?: boolean | 'huge' | 'big' | 'default' | 'small' | 'tiny' | string
- common element attributes
- styled components props e.g
as
=> https://www.styled-components.com/docs/api
<Image />
props:
- common element attributes
- styled components props e.g
as
=> https://www.styled-components.com/docs/api - It's responsive by default. Fixed width is meant to be defined by it's wrapper, e.g.
<SimpleWrapper maxWidth="30px">
<Image src="path_to_image">
</SimpleWrapper>
2.2.0-alpha.0
4 years ago
2.1.2-alpha.0
4 years ago
2.1.1-alpha.0
4 years ago
2.1.0-alpha.0
4 years ago
2.0.11-alpha.0
4 years ago
2.0.12-alpha.0
4 years ago
2.0.10-alpha.0
4 years ago
2.0.9-alpha.0
4 years ago
2.0.4-alpha.0
4 years ago
2.0.5-alpha.0
4 years ago
2.0.6-alpha.0
4 years ago
2.0.8-alpha.0
4 years ago
2.0.7-alpha.0
4 years ago
2.0.3-alpha.0
4 years ago
2.0.1-alpha.0
4 years ago
2.0.2-alpha.0
4 years ago
1.3.1
4 years ago
1.3.1-alpha.0
4 years ago
1.3.0
5 years ago
1.2.0
5 years ago
1.1.3
5 years ago
1.1.2
5 years ago
1.1.1
5 years ago
1.1.0
5 years ago
1.0.10
5 years ago
1.0.9
5 years ago
1.0.8
5 years ago
1.0.7
5 years ago
1.0.6
5 years ago
1.0.5
5 years ago
1.0.4
5 years ago
1.0.3
5 years ago
1.0.2
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago