We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f41ca1d commit 04e2f4fCopy full SHA for 04e2f4f
src/action-sheet/ActionSheetGrid.tsx
@@ -3,7 +3,7 @@ import cx from 'classnames';
3
4
import type { ActionSheetProps } from './ActionSheet';
5
import type { ActionSheetItem } from './type';
6
-
+import type { TNode } from '../common';
7
import { Grid, GridItem } from '../grid';
8
import { Swiper, SwiperProps } from '../swiper';
9
import { usePrefixClass } from '../hooks/useClass';
@@ -57,7 +57,7 @@ export function ActionSheetGrid(props: ActionSheetGridProps) {
57
<Grid gutter={0} column={gridColumn} style={{ width: '100%' }}>
58
{item.map((it, idx2) => {
59
let label: string;
60
- let image: React.ReactNode;
+ let image: TNode;
61
let badge: ActionSheetItem['badge'];
62
if (typeof it === 'string') {
63
label = it;
0 commit comments