Skip to content

Commit

Permalink
prettier broke my code ...
Browse files Browse the repository at this point in the history
  • Loading branch information
sebald committed Oct 10, 2024
1 parent 899a796 commit ea7feda
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions packages/components/src/Inset/Inset.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,7 @@ export const Basic: Story = {
</Inset>
),
};

<Inset space={4} aria-controls>
asd
</Inset>;
4 changes: 2 additions & 2 deletions packages/components/src/Inset/Inset.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ export type InsetProps =
*/
spaceY?: PaddingSpacePropY['spaceY'];
})
| {
| (AriaRegionProps & {
children: ReactNode;
/**
* The space between the children. You can see allowed tokens [here](../../foundations/design-tokens?theme=core#spacing).
*/
space?: PaddingSpaceProp['space'];
spaceX?: never;
spaceY?: never;
};
});

export const Inset = ({ space, spaceX, spaceY, children }: InsetProps) => (
<div
Expand Down

0 comments on commit ea7feda

Please sign in to comment.