UNPKG

antd

Version:

An enterprise-class UI design language and React components implementation

14 lines (13 loc) • 525 B
import type { CSSInterpolation } from '@ant-design/cssinjs'; import type { FullToken, OverrideComponent } from '../theme/internal'; interface CompactItemOptions { componentCls?: string; focus?: boolean; /** * Some components have special `focus` className especially with popovers * like `Select` and `DatePicker` */ focusElCls?: string; } export declare function genCompactItemStyle<T extends OverrideComponent>(token: FullToken<T>, options?: CompactItemOptions): CSSInterpolation; export {};