mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-05 23:46:28 +08:00
chore: bath fix lint & site tsc def (#53363)
* fix: revert * type: update
This commit is contained in:
parent
d2b8b6ac66
commit
17cfb7b28d
@ -66,7 +66,7 @@ const useStyle = createStyles(({ token }, markPos: [number, number, number, numb
|
||||
}));
|
||||
|
||||
export interface SemanticPreviewProps {
|
||||
componentName?: string;
|
||||
componentName: string;
|
||||
semantics: { name: string; desc: string; version?: string }[];
|
||||
children: React.ReactElement<any>;
|
||||
height?: number;
|
||||
|
@ -65,6 +65,7 @@ export default antfu(
|
||||
'react/no-forward-ref': 'off',
|
||||
'react/no-context-provider': 'off',
|
||||
'react/no-use-context': 'off',
|
||||
'react-hooks-extra/no-unnecessary-use-prefix': 'off',
|
||||
},
|
||||
},
|
||||
compat.configs['flat/recommended'],
|
||||
|
Loading…
Reference in New Issue
Block a user