Variable: Button
const
Button:ForwardRefExoticComponent
<ButtonProps
&object
&RefAttributes
<View
>>
Defined in: packages/@mapples/ui/src/components/inputs/Button/Button.tsx:49
A customizable button component with built-in styling support.
The Button component extends React Native's Pressable with additional styling capabilities and typography support. It can display a text label and supports all standard pressable interactions.
Example
<Button
label="Click me"
onPress={() => console.log('Button pressed')}
styled={{
style: { backgroundColor: 'blue', padding: 16 },
styleTypography: { color: 'white', fontSize: 16 }
}}
/>