chore: update ant-design dependencies and add new icon types
This commit is contained in:
+25
@@ -0,0 +1,25 @@
|
||||
import { genStyleHooks } from '../../theme/internal';
|
||||
// =============================== Base ===============================
|
||||
const genBaseStyle = token => {
|
||||
const {
|
||||
componentCls,
|
||||
colorText,
|
||||
fontSize,
|
||||
lineHeight,
|
||||
fontFamily
|
||||
} = token;
|
||||
return {
|
||||
[componentCls]: {
|
||||
color: colorText,
|
||||
fontSize,
|
||||
lineHeight,
|
||||
fontFamily,
|
||||
[`&${componentCls}-rtl`]: {
|
||||
direction: 'rtl'
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
export const prepareComponentToken = () => ({});
|
||||
// ============================== Export ==============================
|
||||
export default genStyleHooks('App', genBaseStyle, prepareComponentToken);
|
||||
Reference in New Issue
Block a user