Skip to main content

Interface: ButtonProps

Defined in: packages/@mapples/ui/src/components/inputs/Button/Button.tsx:16

Props for the Button component.

Extends

  • PressableProps

Properties

label?

optional label: string

Defined in: packages/@mapples/ui/src/components/inputs/Button/Button.tsx:18

The text label to display on the button


styled?

optional styled: StyledProps<PressableProps> & object

Defined in: packages/@mapples/ui/src/components/inputs/Button/Button.tsx:20

Styling configuration for the button and its typography

Type Declaration

styleTypography?

optional styleTypography: StyledProp<TextStyle>

Typography-specific styling for the button label


typographyVariant?

optional typographyVariant: string

Defined in: packages/@mapples/ui/src/components/inputs/Button/Button.tsx:25

Typography variant to apply to the button label