Skip to content
This repository was archived by the owner on Jul 30, 2024. It is now read-only.

Commit 1e713fc

Browse files
committed
fix: Fix typing
1 parent 529adc1 commit 1e713fc

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

packages/react-forms/src/lib/error-helper/error-helper.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ import { PropsWithChildren } from 'react';
22
import { Helper } from '@heetch/flamingo-react';
33
import 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
};

packages/react-forms/src/lib/form-layout/form-layout.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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}

0 commit comments

Comments
 (0)