npm.io
0.7.4 • Published 7 years ago

@kata-kit/split-button

Licence
Apache-2.0
Version
0.7.4
Deps
4
Size
56 kB
Vulns
0
Weekly
0
Stars
193
DeprecatedThis package is deprecated

@kata-kit/split-button

Split Button component for Wicara.

Install

# yarn
yarn add @kata-kit/split-button
# npm
npm install @kata-kit/split-button

Usage

To use this component within your React app, import as follows:

import { SplitButton } from '@kata-kit/split-button';
import { DropdownItem } from '@kata-kit/dropdown';

const Component = () => (
  <SplitButton title="Publish" color="primary">
    <DropdownItem>Dropdown Item 1</DropdownItem>
    <DropdownItem>Dropdoen Item 2</DropdownItem>
  </SplitButton>
);