chore: change

This commit is contained in:
zhuzhengjian
2023-04-18 15:49:28 +08:00
parent 0d1e4d3e7c
commit 79210d99c9
3 changed files with 27 additions and 1 deletions

View File

@ -1,7 +1,9 @@
import type { AliasToken, GenerateStyle } from '../../theme/internal'
import type { TokenWithCommonCls } from '../../theme/util/genComponentStyleHook'
const genCollapseMotion: GenerateStyle<TokenWithCommonCls<AliasToken>> = token => ({
const genCollapseMotion: GenerateStyle<TokenWithCommonCls<AliasToken>> = (
token
) => ({
[token.componentCls]: {
// For common/openAnimation
[`${token.antCls}-motion-collapse-legacy`]: {