Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

Commit

Permalink
fix: 🐛 flex (#130)
Browse files Browse the repository at this point in the history
* fix: add events for flex component

* fix: add rest props for Flex component

---------

Co-authored-by: “merankori” <[email protected]>
  • Loading branch information
merankori and “merankori” committed Oct 27, 2023
1 parent 4f3a262 commit 3afa747
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/src/shared/ui/flex/flex.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ export const Flex: React.FC<FlexProps> = props => {
shrink,
children,
className,
...rest
} = props;

const style = {
Expand All @@ -133,7 +134,7 @@ export const Flex: React.FC<FlexProps> = props => {
} as React.CSSProperties;

return (
<div className={clsx(styles.flexWrapper, [className])} style={style}>
<div className={clsx(styles.flexWrapper, [className])} style={style} {...rest}>
{children}
</div>
);
Expand Down

2 comments on commit 3afa747

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for teameights ready!

✅ Preview
https://teameights-l6qu38g6a-exortme1ster.vercel.app

Built with commit 3afa747.
This pull request is being automatically deployed with vercel-action

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for teameights-storybook ready!

✅ Preview
https://teameights-storybook-mbw62v0fa-exortme1ster.vercel.app

Built with commit 3afa747.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.