An inline component is a <span>
with display: inline
, and a starting point for building your own custom inline components.
Name | Description | Type | Default Value |
---|---|---|---|
as | Any valid React element, function, or a string specifying a name for an HTML element | union(string,element,elementType,func) | 'span' |
children | A JSX node | node | n/a |
className | Add an additional custom className to element. Warning: make sure it doesn't collide with the classNames being generated for the atomic CSS * | string | n/a |
extend | An object containing valid CSS style declarations | union(object,func,array) | n/a |