@propellerads/arrow-button
v4.0.0
Published
Links: [NPM](https://www.npmjs.com/package/@propellerads/arrow-button) · [GitHub](https://github.com/propellerads/ui-components/tree/master/Components/ArrowButton)
Keywords
Readme
ArrowButton
Install
yarn add @propellerads/arrow-buttonornpm install @propellerads/arrow-button --save
Usage
import ArrowButton, {ArrowType} from '@propellerads/arrow-button';
<ArrowButton elementId="table-pagination-next" type={ArrowType.Next} onClick={() => console.log('Next clicked')} />;Props
elementId(string, required): unique id for the component instancetype(ArrowType, required): one ofFirst,Previous,Next,LastisDisabled(boolean, default: false): disables the buttononClick(() => void, required): click handler
