PromoCursed/node_modules/antd/lib/style/compact-item.d.ts

18 lines
625 B
TypeScript
Raw Normal View History

2024-08-20 23:25:37 +04:00
import type { CSSInterpolation } from '@ant-design/cssinjs';
import type { FullToken, OverrideComponent } from '../theme/internal';
interface CompactItemOptions {
focus?: boolean;
/**
* Some component borders are implemented on child elements
* like `Select`
*/
borderElCls?: string;
/**
* 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 {};