Skip to content

Commit

Permalink
[sparkle] - refactor: standardize dropdown menu item props in DataTab…
Browse files Browse the repository at this point in the history
…le stories

 - Replace `NewDropdownMenuItemProps` with `DropdownMenuItemProps` for consistency across components
 - Update imports in DataTable stories to reflect the change in props interface
  • Loading branch information
JulesBelveze committed Nov 7, 2024
1 parent 1a2e65c commit 2c900c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sparkle/src/stories/DataTable.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import { Input } from "@sparkle/components/Input";

import {
DataTable,
DropdownMenuItemProps,
FolderIcon,
NewDropdownMenuItemProps,
} from "../index_with_tw_base";

const meta = {
Expand All @@ -32,7 +32,7 @@ type Data = {
avatarTooltipLabel?: string;
icon?: React.ComponentType<{ className?: string }>;
onClick?: () => void;
moreMenuItems?: NewDropdownMenuItemProps[];
moreMenuItems?: DropdownMenuItemProps[];
roundedAvatar?: boolean;
};

Expand Down

0 comments on commit 2c900c1

Please sign in to comment.