-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(3000): add 3000 styles for keyboard shortcut (#18766)
- Loading branch information
1 parent
f34d89c
commit dfc9d31
Showing
6 changed files
with
41 additions
and
2 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
frontend/src/layout/navigation-3000/components/KeyboardShortcut.stories.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { Meta } from '@storybook/react' | ||
|
||
import { KeyboardShortcut } from './KeyboardShortcut' | ||
|
||
const meta: Meta<typeof KeyboardShortcut> = { | ||
title: 'PostHog 3000/Keyboard Shortcut', | ||
component: KeyboardShortcut, | ||
tags: ['autodocs'], | ||
} | ||
export default meta | ||
|
||
export const Default = { | ||
args: { | ||
cmd: true, | ||
shift: true, | ||
k: true, | ||
}, | ||
} | ||
|
||
export const Muted = { | ||
args: { | ||
muted: true, | ||
cmd: true, | ||
shift: true, | ||
k: true, | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters