KbdPicker
To display a keyboard type picker in a page of your documentation, use the <KbdPicker>
component.
Import
import { KbdPicker } from 'starlight-kbd/components'
Usage
Use the <KbdPicker>
component to display a keyboard type picker in a page of your documentation.
Combined with the globalPicker
configuration option, manually rendering the <KbdPicker>
component can be useful if only one or a few pages of your documentation use keyboard shortcuts.
import { KbdPicker } from 'starlight-kbd/components'
Use the following picker to switch between different keyboard types:
<KbdPicker />
Use the following picker to switch between different keyboard types:
<KbdPicker>
Props
The <KbdPicker>
component does not accept any props.