Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ButtonProperties

Indexable

[key: string]: any

Index

Properties

Optional active

active: undefined | true | false

if true, shows active state of the button. if true, shows active state of the button.

Optional bordered

bordered: undefined | true | false

if true, button is generated with border, unsupportive for MaterialUI button. if true, button is generated with border, unsupportive for MaterialUI button.

Optional children

children: ReactNode

Optional className

className: undefined | string

className for styling button with css (Web Only).

Optional color

color: "primary" | "secondary" | "warning" | "info" | "danger" | "success" | "light" | "dark" | "link" | "accent" | "default" | "contrast" | "inherit"

Optional danger

danger: undefined | true | false
Red background color for button

Optional dark

dark: undefined | true | false

Black background color for button

Optional disabled

disabled: undefined | true | false

if true, renders a disabled button. if true, renders a disabled button.

Optional fab

fab: undefined | true | false

fab prop to show floating action button, unsupportive for Bootstrap Button. fab prop to show floating action button, unsupportive for Bootstrap Button.

Optional fullWidth

fullWidth: undefined | true | false

if true, button is generated with 100% width of the cnotainer. if true, button is generated with 100% width of the cnotainer.

Optional href

href: undefined | string

supportive for Web only, href prop to move to a link.

Optional iconLeft

iconLeft: ReactNode

icon prop to show icon on the left side of label. icon prop to show icon on the left side of label.

Optional iconRight

iconRight: ReactNode

icon prop to show icon on the right side of label. icon prop to show icon on the right side of label.

Optional info

info: undefined | true | false
Light blue background color for button

Optional large

large: undefined | true | false

if true, large button is generated. If both small and large are true then Large button is generated. if true, large button is generated. If both small and large are true then Large button is generated.

Optional light

light: undefined | true | false

Light white background color for button

Optional onPress

onPress: undefined | function

callback function fired when button is pressed. callback function fired when button is pressed.

Optional primary

primary: undefined | true | false

Blue background color for button

Optional rounded

rounded: undefined | true | false

if true, button is generated rounded (Native only). if true, button is generated rounded (Native only).

Optional small

small: undefined | true | false

if true, small button is generated (For MaterialUI button, small also works when fab is true). if true, small button is generated (For MaterialUI button, small also works when fab is true).

Optional style

style: undefined | __type

Optional success

success: undefined | true | false

Green background color for button

Optional title

title: undefined | string

Optional variant

variant: "text" | "flat" | "outlined" | "contained" | "raised" | "fab" | "extendedFab"

Optional warning

warning: undefined | true | false

Yellow background color for button

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc