commandbar-launcher
npm install commandbar-launcher
!package size
!downloads
!dependencies
This component is a launcher to open CommandBar. It looks like a search bar and can be slotted into any react app. On click, it'll open the CommandBar.

- Run npm install commandbar-launcher.
| Name | Type | Description | Default |
| ----- | --------------------- | ------------------------------------- | ---------------------- |
| text | string or HTMLElement | The element to render in the launcher | Find anything [ctrl+k] |
| style | CSSProperties | Style overrides for the launcher | {} |
Default usage:
``
import Launcher from 'commandbar-launcher';
import "commandbar-launcher/assets/index.css";
export const MyLauncher = () => {
return
}
`
Example with changed styles:
``
Example with changed text:
`
[build-badge]: https://img.shields.io/travis/user/repo/master.png?style=flat-square
[build]: https://travis-ci.org/user/repo
[npm-badge]: https://img.shields.io/npm/v/npm-package.png?style=flat-square
[npm]: https://www.npmjs.org/package/npm-package
[coveralls-badge]: https://img.shields.io/coveralls/user/repo/master.png?style=flat-square
[coveralls]: https://coveralls.io/github/user/repo