Skip to main content

Variable: SubmitButton

const SubmitButton: ForwardRefExoticComponent<SubmitButtonProps & object & RefAttributes<View>>

Defined in: packages/@mapples/ui/src/components/form/SubmitButton/SubmitButton.tsx:49

A customizable button component with built-in styling support.

The SubmitButton 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​

<SubmitButton
label="Click me"
styled={{
style: { backgroundColor: 'blue', padding: 16 },
styleTypography: { color: 'white', fontSize: 16 }
}}
/>