Skip to content

Commit

Permalink
remove type ToggleButtonGroupSize
Browse files Browse the repository at this point in the history
  • Loading branch information
molliean committed Nov 21, 2024
1 parent 6be54da commit afaef09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {twMerge} from 'tailwind-merge';
import {Button} from '../Button';
import {IconName} from '../Icon';
import {Tailwind} from '../Tailwind';
import {ToggleButtonGroupSize} from './types';
import {ToggleButtonGroupSizes} from './types';

export type ToggleOption = {
label: string;
Expand All @@ -15,7 +15,7 @@ export type ToggleOption = {
export type ToggleButtonGroupProps = {
options: ToggleOption[];
value: string;
size: ToggleButtonGroupSize;
size: ToggleButtonGroupSizes;
isDisabled?: boolean;
onValueChange: (value: string) => void;
};
Expand Down
1 change: 0 additions & 1 deletion weave-js/src/components/ToggleButtonGroup/types.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ export enum ToggleButtonGroupSizes {
medium = 'medium',
large = 'large',
}
export type ToggleButtonGroupSize = keyof typeof ToggleButtonGroupSizes;

0 comments on commit afaef09

Please sign in to comment.