UNPKG

wix-style-react

Version:
16 lines (12 loc) 771 B
# Button component > General Buttons ## Properties | propName | propType | defaultValue | isRequired | description | |----------|----------|--------------|------------|-------------| | link | string | - | + | The link itself e.g. 'https://www.wix.com' | | children | node | - | - | The node to render, <TextLink>I am a children</TextLink> | | underlineStyle | 'always'/'hover'/'never' | hover | - | Hover - show the underline only on hover, Always - always show underline, Never - never show underline | | darkBackground | bool | - | - | Whether to use dark background | | size | 'small'/'medium' | 'medium' | - | The size of the button | | display | 'block'/'inline-block' | 'block' | - | The display of the item | | disabled | bool | false | - | disables the link |