thinkasany
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
3 additions and
3 deletions
-
components/date-picker/generatePicker/generateSinglePicker.tsx
-
components/layout/layout.tsx
|
|
@ -156,7 +156,7 @@ export default function generatePicker<DateType>(generateConfig: GenerateConfig< |
|
|
|
[`${prefixCls}-borderless`]: !bordered, |
|
|
|
}, |
|
|
|
getStatusClassNames( |
|
|
|
prefixCls as string, |
|
|
|
prefixCls, |
|
|
|
getMergedStatus(contextStatus, customStatus), |
|
|
|
hasFeedback, |
|
|
|
), |
|
|
|
|
|
@ -57,7 +57,7 @@ const Basic = React.forwardRef<HTMLElement, BasicPropsWithTagName>((props, ref) |
|
|
|
const { getPrefixCls } = React.useContext(ConfigContext); |
|
|
|
const prefixCls = getPrefixCls('layout', customizePrefixCls); |
|
|
|
|
|
|
|
const [wrapSSR, hashId] = useStyle(prefixCls as string); |
|
|
|
const [wrapSSR, hashId] = useStyle(prefixCls); |
|
|
|
|
|
|
|
const prefixWithSuffixCls = suffixCls ? `${prefixCls}-${suffixCls}` : prefixCls; |
|
|
|
|
|
|
@ -91,7 +91,7 @@ const BasicLayout = React.forwardRef<HTMLElement, BasicPropsWithTagName>((props, |
|
|
|
const { getPrefixCls, layout } = React.useContext(ConfigContext); |
|
|
|
const prefixCls = getPrefixCls('layout', customizePrefixCls); |
|
|
|
|
|
|
|
const [wrapSSR, hashId] = useStyle(prefixCls as string); |
|
|
|
const [wrapSSR, hashId] = useStyle(prefixCls); |
|
|
|
const classString = classNames( |
|
|
|
prefixCls, |
|
|
|
{ |
|
|
|