geoiq-frontend-ui-kit
Version:
This project is a UI kit for GeoIQ's frontend. It's built with React, TypeScript, and Vite.
16 lines • 446 B
TypeScript
type BaseResponsiveProps<T> = {
children: React.ReactNode;
breakpoints?: T;
};
type BreakpointRenders<T> = Partial<{
[key in keyof T]: React.ReactNode;
}>;
export type ResponsiveTypesNS<T> = {
BreakpointsType: {
[key: string]: `${number}px`;
};
BreakpointRenders: BreakpointRenders<T>;
ResponsiveProps: BreakpointRenders<T> & BaseResponsiveProps<T>;
};
export {};
//# sourceMappingURL=responsive.types.d.ts.map