From be0cf960fc6bc2697fd09ff09849c475b8e29f9f Mon Sep 17 00:00:00 2001 From: zombiej Date: Sat, 20 Apr 2019 23:16:26 +0800 Subject: [PATCH] update define --- components/icon/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/icon/index.tsx b/components/icon/index.tsx index 750131680a60..6306872ed5c7 100755 --- a/components/icon/index.tsx +++ b/components/icon/index.tsx @@ -33,7 +33,7 @@ export interface CustomIconComponentProps { style?: React.CSSProperties; spin?: boolean; rotate?: number; - ['aria-hidden']?: boolean | 'true' | 'false'; + ['aria-hidden']?: React.AriaAttributes['aria-hidden']; } export type ThemeType = 'filled' | 'outlined' | 'twoTone';