-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(layout):
FormContainer
wrong props (#1362)
- Loading branch information
1 parent
80b609d
commit 2a4d8db
Showing
3 changed files
with
35 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@rocket.chat/layout": patch | ||
--- | ||
|
||
fix(layout): FormContainer wrong props |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import { Box } from '@rocket.chat/fuselage'; | ||
import type { ReactElement, FC } from 'react'; | ||
import type { ComponentProps } from 'react'; | ||
|
||
const FormContainer: FC = ({ children }): ReactElement => <Box>{children}</Box>; | ||
const FormContainer = (props: ComponentProps<typeof Box>) => <Box {...props} />; | ||
|
||
export default FormContainer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters