This is one of the building blocks of dropdowns and it gets activated by pressing "space" or "enter", or by clicking on it.
Interact with a live demo of the ak-droplist-trigger.
npm install ak-droplist-trigger --save
This package exports the ak-droplist-trigger React component.
Import the component in your React app as follows:
import Trigger from 'ak-droplist-trigger';
const callback = () => {
// all the action should be happening in this callback
}
ReactDOM.render(<Trigger onActivate={callback}>Some awesome text</Trigger>, container);
Let us know what you think of our components and docs, your feedback is really important for us.
Ask a question in our forum.
Check if someone has already asked the same question before.
Are you in trouble? Let us know!