Text

The Text component is a layout primitive that can be used like span to create texts.

It is just a span with some styles.

How to use

1const before = <Text color={"red"}>This is Text component.</Text>
2
3const after = <span className="d0">This is Text component.</span>
1const before = <Text color={"red"}>This is Text component.</Text>
2
3const after = <span className="d0">This is Text component.</span>