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