import { Text } from "@wfp/react"; () => { return <Text>Text</Text>; };
TextKind
Specifies the kind of text to be displayed. This could be an enumeration that defines various text styles or types.
ReactNode
The content of the Text component, typically a string or nested React elements.
Spacing
Spacing to be applied above the Text component. 'Spacing' could be a type that represents predefined spacing values.
Spacing to be applied below the Text component. Similar to spacingTop, it uses the Spacing type for predefined values.
string
Additional custom class name(s) that can be applied to the Text component for styling purposes.