A simply styled component used on section titles or pre titles. See property detail example in buildings conceptual app.
Property | Type | Required | Default Value | Description |
---|---|---|---|---|
className | String | false | null | className, e.g. "my-custom-styling" |
children | React.Node | false | null | |
Component | React.ElementType | false | span | Renders the component with a given react element. By default, the component renders <span />. This is usefull when you want to use a same style but render a different HTML element or your custom component. Read and see more examples here. |
...rest | any | false | Other properties are passed down to the wrapping element |
Component | Example Code |
---|---|
How it worksIt's super simple |
|