Variable: Text
constText:ForwardRefExoticComponent<object&TextProps&object&object&RefAttributes<unknown>>
Defined in: packages/@mapples/ui/src/components/typography/Text/Text.tsx:49
A customizable text component with built-in styling support.
The Text component extends React Native's Text with additional styling
capabilities through the @mapples/style system. It can display text content
either through the text prop or as children.
Examples
<Text
text="Hello World"
styled={{
style: {
fontSize: 18,
color: 'blue',
fontWeight: 'bold'
}
}}
/>
<Text styled={{ style: { fontSize: 16, color: 'black' } }}>
This is text content as children
</Text>