This repository was archived by the owner on Jul 30, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
packages/react-forms/src/lib Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ import { PropsWithChildren } from 'react';
22import { Helper } from '@heetch/flamingo-react' ;
33import styles from './error-helper.module.scss' ;
44
5- export const ErrorHelper = ( { children } : PropsWithChildren ) => {
5+ export const ErrorHelper = ( {
6+ children,
7+ } : PropsWithChildren < Record < string , never > > ) => {
68 return < Helper className = { styles [ 'ErrorHelper' ] } > { children } </ Helper > ;
79} ;
Original file line number Diff line number Diff line change @@ -17,7 +17,9 @@ export const FormLayout = ({
1717 ) ;
1818} ;
1919
20- export const FormLayoutRow = ( { children } : PropsWithChildren ) => {
20+ export const FormLayoutRow = ( {
21+ children,
22+ } : PropsWithChildren < Record < string , never > > ) => {
2123 return (
2224 < div className = { [ styles [ 'FormLayoutRow' ] , classNames . layout . row ] . join ( ' ' ) } >
2325 { children }
You can’t perform that action at this time.
0 commit comments