@atlaskit/droplist-group

Component used to grouping droplist-items within droplist-menus

Stats

StarsIssuesVersionUpdatedCreatedSize
@atlaskit/droplist-group
1.0.65 years ago5 years agoMinified + gzip package size for @atlaskit/droplist-group in KB

Readme

AtlasKit component registry Commitizen friendly semantic-release Report an issue Ask in our forum

Group

Use this component in a dropdown list when you need to group relevant items together under the same heading

Try it out

Interact with a live demo of the @atlaskit/droplist-group component.

Installation

npm install @atlaskit/droplist-group

Using the component

HTML

This package exports the @atlaskit/droplist-group React component.

Import the component in your React app as follows:

import Item from '@atlaskit/droplist-item';
import Group from '@atlaskit/droplist-group';

ReactDOM.render(<Group heading="Australia">
  <Item>Sydney</Item>
  <Item>Melbourne</Item>
  <Item>Canberra</Item>
</Group>, container);

Support and feedback

We're here to help!

Let us know what you think of our components and docs, your feedback is really important for us.

Community support

Ask a question in our forum.

Check if someone has already asked the same question before.

Create a support ticket

Are you in trouble? Let us know!

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.