Skip to content

Commit 2ddd49a

Browse files
committed
feat(ContextMenu): added context menu
1 parent bdf4f00 commit 2ddd49a

File tree

18 files changed

+822
-928
lines changed

18 files changed

+822
-928
lines changed

.storybook/Logo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export function StorybookLogo() {
3131
))}
3232
</List>
3333
}
34-
disablePadding
34+
noPadding
3535
trigger="click">
3636
<span
3737
style={{

.storybook/blocks/Props.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,11 @@ export const Props: FC<PropsProps> = (props) => {
240240
: subcomponents;
241241
}
242242
if (story) {
243-
return <StoryTable {...(props as StoryProps)} components={allComponents} />;
243+
if (main) {
244+
return (
245+
<StoryTable {...(props as StoryProps)} components={allComponents} />
246+
);
247+
} else return null;
244248
}
245249

246250
if (!components && !subcomponents) {

.storybook/blocks/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,5 @@ export * from './Subheading';
2424
export * from './Subtitle';
2525
export * from './Title';
2626
export * from './Wrapper';
27-
2827
export * from './types';
2928
export * from './mdx';

0 commit comments

Comments
 (0)