UNPKG

@greensight/gds

Version:
17 lines (16 loc) 500 B
import { type CSSProperties } from 'react'; import { type Breakpoint, type ValueType } from '../../types/scss/Layout'; interface IProp { name: string; value: Partial<Record<Breakpoint, ValueType>>; } export interface IUseGenerateProperty { props: IProp[]; styles: Record<string, string>; name: string; } export declare const useGenerateProperty: ({ props, styles, name }: IUseGenerateProperty) => { mediaStyles: Record<string, boolean>; vars: CSSProperties; }; export {};