9.0.4 • Published 2 years ago
@just-web/react-commands v9.0.4
@just-web/command-react
@just-web/react-commands provides the components for @just-web/commands written in React.
Install
# npm
npm install @just-web/react-commands
# yarn
yarn add @just-web/react-commands
# pnpm
pnpm install @just-web/react-commands
#rush
rush add -p @just-web/react-commands
Usage
You can load the plugin synchronously or asynchronously. Here is an example to load it synchronously:
Note that currently there are no init work done in this plugin.
Meaning it can be converted to a library instead of a plugin.
The extend()
call below is not needed.
import { createApp } from '@just-web/app'
import * as reactCommandModule from '@just-web/react-commands'
void (async () => {
const app = await createApp({ name: 'my-app' })
.extend(reactCommandModule)
await app.start()
})()
Features
CommandPalette
import { CommandPalette } from '@just-web/react-commands'
const Comp = () => <>
<CommandPalette>
</>
9.0.4
2 years ago
9.0.3
2 years ago
9.0.2
2 years ago
9.0.1
2 years ago
9.0.0
2 years ago
8.0.0
2 years ago
6.0.1
3 years ago
6.0.0
3 years ago
7.0.0
3 years ago
7.0.4
2 years ago
7.0.3
3 years ago
7.0.2
3 years ago
7.0.1
3 years ago
3.0.2
3 years ago
3.0.1
3 years ago
5.0.1
3 years ago
5.0.0
3 years ago
3.0.0
3 years ago
2.0.3
3 years ago
2.0.2
3 years ago
2.0.4
3 years ago
4.0.1
3 years ago
4.0.0
3 years ago
4.0.2
3 years ago
2.0.1
3 years ago
2.0.0
3 years ago
1.0.2
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago
1.0.7
3 years ago
1.0.6
3 years ago
1.0.5
3 years ago
1.0.4
3 years ago
1.0.3
3 years ago
0.1.1
3 years ago