@postenbring/hedwig-react
Version:
React components for [Hedwig Design System](https://github.com/bring/hedwig-design-system).
10 lines • 429 B
TypeScript
type Breakpoints = "initial" | "small" | "medium" | "large" | "xlarge";
type ResponsiveValues<T> = {
[Breakpoint in Breakpoints]?: T;
};
export type ResponsiveProp<T> = T | ResponsiveValues<T>;
export declare function getResponsiveProps<T>(variable: `--hds-${string}`, inputValues?: ResponsiveProp<T>, valueTransformer?: (value: T) => string): {
[x: string]: string;
};
export {};
//# sourceMappingURL=responsive.d.ts.map