Skip to content

Latest commit

 

History

History
158 lines (87 loc) · 4.85 KB

File metadata and controls

158 lines (87 loc) · 4.85 KB

andculturecode-javascript-react-components › ButtonProps

Interface: ButtonProps

Hierarchy

  • ButtonProps

Index

Properties

Properties

Optional accessibleText

• accessibleText? : undefined | string

Defined in src/atoms/buttons/button.tsx:14


Optional ariaControls

• ariaControls? : undefined | string

Defined in src/atoms/buttons/button.tsx:15


Optional ariaExpanded

• ariaExpanded? : undefined | false | true

Defined in src/atoms/buttons/button.tsx:16


Optional children

• children? : any

Defined in src/atoms/buttons/button.tsx:17


Optional cssClassName

• cssClassName? : undefined | string

Defined in src/atoms/buttons/button.tsx:18


Optional disabled

• disabled? : undefined | false | true

Defined in src/atoms/buttons/button.tsx:19


Optional id

• id? : undefined | string

Defined in src/atoms/buttons/button.tsx:20


Optional onClick

• onClick? : undefined | function

Defined in src/atoms/buttons/button.tsx:21


Optional onDrag

• onDrag? : undefined | function

Defined in src/atoms/buttons/button.tsx:22


Optional onDrop

• onDrop? : undefined | function

Defined in src/atoms/buttons/button.tsx:23


Optional onKeyDown

• onKeyDown? : undefined | function

Defined in src/atoms/buttons/button.tsx:24


Optional ref

• ref? : React.RefObject‹HTMLButtonElement›

Defined in src/atoms/buttons/button.tsx:25


Optional size

• size? : ButtonSizes

Defined in src/atoms/buttons/button.tsx:26


Optional style

• style? : ButtonStyles

Defined in src/atoms/buttons/button.tsx:27


Optional type

• type? : ButtonTypes

Defined in src/atoms/buttons/button.tsx:31

useful when you need a non-submit button inside a form


Optional value

• value? : string | number | string[] | undefined

Defined in src/atoms/buttons/button.tsx:32