We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 148fa91 commit da928dbCopy full SHA for da928db
1 file changed
src/custom/VisibilityChipMenu/VisibilityChipMenu.tsx
@@ -10,11 +10,12 @@ export const VIEW_VISIBILITY = {
10
PUBLISHED: 'published'
11
} as const;
12
13
-
14
-export type ViewVisibility = (typeof VIEW_VISIBILITY)[keyof typeof VIEW_VISIBILITY];
+
+/* eslint-disable-next-line no-redeclare */
15
+export type VIEW_VISIBILITY = (typeof VIEW_VISIBILITY)[keyof typeof VIEW_VISIBILITY];
16
17
interface VisibilityChipMenuProps {
- value: ViewVisibility;
18
+ value: VIEW_VISIBILITY;
19
onChange?: (value: string) => void;
20
options?: [string, React.ElementType][];
21
enabled: boolean;
@@ -145,4 +146,4 @@ const VisibilityChipMenu: React.FC<VisibilityChipMenuProps> = ({
145
146
);
147
};
148
-export default VisibilityChipMenu;
149
+export default VisibilityChipMenu;
0 commit comments