Skip to content

Commit da928db

Browse files
Update VisibilityChipMenu.tsx
Signed-off-by: Aryan Shah <[email protected]>
1 parent 148fa91 commit da928db

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/custom/VisibilityChipMenu/VisibilityChipMenu.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@ export const VIEW_VISIBILITY = {
1010
PUBLISHED: 'published'
1111
} as const;
1212

13-
14-
export type ViewVisibility = (typeof VIEW_VISIBILITY)[keyof typeof VIEW_VISIBILITY];
13+
14+
/* eslint-disable-next-line no-redeclare */
15+
export type VIEW_VISIBILITY = (typeof VIEW_VISIBILITY)[keyof typeof VIEW_VISIBILITY];
1516

1617
interface VisibilityChipMenuProps {
17-
value: ViewVisibility;
18+
value: VIEW_VISIBILITY;
1819
onChange?: (value: string) => void;
1920
options?: [string, React.ElementType][];
2021
enabled: boolean;
@@ -145,4 +146,4 @@ const VisibilityChipMenu: React.FC<VisibilityChipMenuProps> = ({
145146
);
146147
};
147148

148-
export default VisibilityChipMenu;
149+
export default VisibilityChipMenu;

0 commit comments

Comments
 (0)