@deity/falcon-ui UI components such as
Text etc are all built as themeable components.
This means they will accept props such as
m for margin, and values from the
theme such as
xxs for spacing.
To make your custom component 'themeable' you will need to use the
You will notice that we have suffixed the names with layout. This is a helpful convention to easily recognize when a component is a
Changing the html element of a component
If you want to change the html element of a themed component it's as simple as passing a prop (
This will render a
<section> tag rather than a