Options
All
  • Public
  • Public/Protected
  • All
Menu

Properties for the CrossButton component

typedef

ICrossButtonProps

type

ICrossButtonProps

Hierarchy

  • ICrossButtonProps

Index

Properties

Optional backgroundColor

backgroundColor: Color

Background color. Default value is Colors.NextButton if title was supplied

Optional buttonStyle

buttonStyle: ButtonProps

Optional button styles to apply

Optional color

color: Color

Foreground (icon) color. Default is Colors.CrossBlack

Optional compact

compact: undefined | false | true

Optional disabled

disabled: undefined | false | true

Optional iconName

iconName: undefined | string

Font-Awesome icon name

https://fontawesome.com/icons/

Optional mode

mode: "text" | "outlined" | "contained"

Button visual appearence. Default is 'text'

https://callstack.github.io/react-native-paper/button.html

Optional onPress

onPress: undefined | function

Optional size

size: undefined | number

Size of the icon

Optional style

style: StyleProp<ViewStyle>

Optional title

title: undefined | string