UNPKG

@cimpress/react-components

Version:
16 lines 768 B
import * as colors from './colors'; export declare const mapBsStyleToColor: (bsStyle: keyof typeof colors, { shade, fallback }?: { shade?: "base" | "darker" | "darkest" | undefined; fallback?: string | undefined; }) => string; type UseMemoizedIdParams = { /** If you already have a unique id that you want memoized */ id?: string; /** Generate a unique id with the following label */ label?: string; }; export declare const useMemoizedId: ({ id, label }: UseMemoizedIdParams) => string; export declare function deprecatedProp(validator: (...args: any[]) => any, suggestion?: string): (props: Record<any, any>, propName: string, ...rest: any[]) => any; export declare function isBrowser(): boolean; export {}; //# sourceMappingURL=utils.d.ts.map