Skip to content

Commit 6edf326

Browse files
authored
Updated RowProps so it accepts single Col element (#36)
1 parent 9850390 commit 6edf326

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

components/grid/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export interface RowProps extends BaseProps, React.PropsWithoutRef<JSX.Intrinsic
1111
gutterSide?: boolean;
1212
align?: RowAlign;
1313
justify?: RowJustify;
14-
children: React.ReactElement<ColProps>[];
14+
children: React.ReactElement<ColProps>[] | React.ReactElement<ColProps>;
1515
}
1616

1717
export type ColSize = {

0 commit comments

Comments
 (0)