UNPKG

@dndbuilder.com/react

Version:

Drag and drop builder for React

20 lines (19 loc) 674 B
import { ThemeSettings } from '../../../types'; import { BreakpointConfig } from '../../../types/responsive'; import { SizeType, SpacingValue } from '../../../types/style'; import { Styles } from 'free-style'; export declare function generateSize({ size, padding, }: { size: SizeType | undefined; padding?: SpacingValue | undefined; }): { paddingTop: string; paddingBottom: string; paddingLeft: string; paddingRight: string; }; export declare function generatePresetStyle(preset: { id: string; name: string; value: Omit<ThemeSettings["button"], "presets">; }, breakpoints: BreakpointConfig[]): Styles; //# sourceMappingURL=index.d.ts.map