flexDirection: column
backgroundColor
alignContent
height
alignItems
justifyContent
left
margin
marginLeft and marginRight
marginTop and marginBottom
padding
paddingBottom
paddingLeft
paddingRight
paddingTop
paddingLeft and paddingRight
paddingTop and paddingBottom
right
row = true, reverse = true => flexDirection: row-reverse col = true, reverse = true => flexDirection: col-reverse
borderRadius. rouned = true => full border radius (9999px)
flexDirection: row
alignSelf
top
width
flexWrap
create a template builder from specified template definitions. A template definitions is following below structure:
const templateDefinition = {
line: <div style={{ height: 10, backgroundColor: 'silver' }}/>, // react node
circle: (props) => <div style={{ height: props.radius, width: props.radius, borderRadius: 100 }}/> // a functional component
}
Generated using TypeDoc
bottom