@drivy/cobalt
Version:
Opinionated design system for Drivy's projects.
17 lines (16 loc) • 395 B
TypeScript
import React from "react";
interface FlagsMap {
[name: string]: string;
}
export declare const BUNDLED_FLAGS: FlagsMap;
export interface FlagProps {
country: string;
className?: string;
/**
* Available size in px
* @default 24
*/
size?: 16 | 20 | 24 | 32;
}
export declare const Flag: ({ country, size, className }: FlagProps) => React.JSX.Element;
export {};