@navikt/ds-react
Version:
React components from the Norwegian Labour and Welfare Administration.
8 lines (7 loc) • 460 B
TypeScript
import { ResponsiveProp } from "./types";
export declare function getResponsiveValue<T = string>(componentName: string, componentProp: string, responsiveProp?: ResponsiveProp<T>): {
[k: string]: T;
};
export declare function getResponsiveProps<T extends string>(componentName: string, componentProp: string, tokenSubgroup: "space" | "radius", responsiveProp?: ResponsiveProp<T>, invert?: boolean, tokenExceptions?: string[]): {
[x: string]: string;
};