1.4.5 • Published 3 years ago
@billogram/foundation-button v1.4.5
@billogram/foundation-button
React button components
Install
yarn add @billogram/foundation-button
Usage
import {
FoundationAsyncButton,
FoundationAsyncButtonGroup,
FoundationButton,
FoundationButtonSpinner,
FoundationLinkButton,
} from '@billogram/foundation-button';
See types for exported types.
FoundationButton
<FoundationButton
autoFocus={ false }
disabled={ false }
loading={ false }
onClick={ noop }
toggled={ false }
type="button"
ui="gray" />
...
</FoundationButton>
FoundationButtonSpinner
<FoundationButtonsSpinner
visible={ } />
FoundationLinkButton
<FoundationLinkButton
disabled={ false }
href="required"
onClick={ noop }
target=""
toggled={ false }
ui="gray">
...
</FoundationLinkButton>
Note
This library is being published with our use cases in mind and is not necessarily meant to be consumed by the broader public. We probably won't take your feature requests unless they align with our own needs.
License
MIT