Skip to content

Commit a1a8b79

Browse files
committed
fix: col type error #4226
1 parent f9e6217 commit a1a8b79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/grid/Col.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function parseFlex(flex: FlexType): string {
2929
}
3030

3131
const stringOrNumber = PropTypes.oneOfType([PropTypes.string, PropTypes.number]);
32-
export const colSize = PropTypes.shape({
32+
export const colSize = PropTypes.shape<ColSize>({
3333
span: stringOrNumber,
3434
order: stringOrNumber,
3535
offset: stringOrNumber,

0 commit comments

Comments
 (0)