We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1f9a18 commit 148fa91Copy full SHA for 148fa91
src/custom/VisibilityChipMenu/VisibilityChipMenu.tsx
@@ -10,10 +10,11 @@ export const VIEW_VISIBILITY = {
10
PUBLISHED: 'published'
11
} as const;
12
13
-export type VIEW_VISIBILITY = (typeof VIEW_VISIBILITY)[keyof typeof VIEW_VISIBILITY];
+
14
+export type ViewVisibility = (typeof VIEW_VISIBILITY)[keyof typeof VIEW_VISIBILITY];
15
16
interface VisibilityChipMenuProps {
- value: VIEW_VISIBILITY;
17
+ value: ViewVisibility;
18
onChange?: (value: string) => void;
19
options?: [string, React.ElementType][];
20
enabled: boolean;
@@ -144,4 +145,4 @@ const VisibilityChipMenu: React.FC<VisibilityChipMenuProps> = ({
144
145
);
146
};
147
-export default VisibilityChipMenu;
148
+export default VisibilityChipMenu;
0 commit comments