Skip to content

Commit 0126ba9

Browse files
author
pioner921227
committed
fix types
1 parent 6125158 commit 0126ba9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ interface IProps {
4545
defaultRadius?: number;
4646
}
4747

48-
export const AutoSkeletonView: React.FC<IProps> = (props) => {
48+
export const AutoSkeletonView: React.FC<React.PropsWithChildren<IProps>> = (
49+
props
50+
) => {
4951
const gColors = useMemo(() => {
5052
//@ts-ignore
5153
if (Platform.OS === 'ios' && global._IS_FABRIC === false) {

0 commit comments

Comments
 (0)