@speakeasy-api/moonshine 1.43.0 → 1.43.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/KeyHint/index.d.ts +3 -2
- package/dist/moonshine.es.js +658 -652
- package/dist/moonshine.es.js.map +1 -1
- package/package.json +1 -1
- package/types/utilities.d.ts +1 -1
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
type Modifier = "shift" | "ctrlorcommand" | "alt" | "meta" | "esc";
|
|
2
3
|
export interface KeyProps {
|
|
3
4
|
value: string;
|
|
4
5
|
className?: string;
|
|
5
6
|
}
|
|
6
|
-
export declare function Key({ value, className }: KeyProps):
|
|
7
|
+
export declare function Key({ value, className }: KeyProps): React.JSX.Element;
|
|
7
8
|
export interface KeyHintProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
8
9
|
modifiers: Modifier[];
|
|
9
10
|
keys: string[];
|
|
@@ -12,5 +13,5 @@ export interface KeyHintProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
12
13
|
dismissable?: boolean;
|
|
13
14
|
onDismiss?: () => void;
|
|
14
15
|
}
|
|
15
|
-
export declare function KeyHint({ modifiers, keys, actionText, className, dismissable, onDismiss, titleText, ...props }: KeyHintProps):
|
|
16
|
+
export declare function KeyHint({ modifiers, keys, actionText, className, dismissable, onDismiss, titleText, ...props }: KeyHintProps): React.JSX.Element;
|
|
16
17
|
export {};
|