UNPKG

@snowball-tech/fractal

Version:

Fractal's (Snowball's design system) React component library based on RadixUI and PandaCSS

39 lines (34 loc) 1.15 kB
import * as react_jsx_runtime from 'react/jsx-runtime'; import { AllHTMLAttributes } from 'react'; declare enum Sizes { S = "s", M = "m", L = "l", XL = "xl", Fluid = "fluid" } declare const DEFAULT_SIZE = Sizes.Fluid; declare const PictoColors: { dark: string; light: string; none: string; primary: string; }; declare const DEFAULT_PICTO_COLOR = "dark"; declare const BrandColors: { dark: string; light: string; none: string; primary: string; }; declare const DEFAULT_BRAND_COLOR = "dark"; interface LogoProps extends Omit<AllHTMLAttributes<HTMLOrSVGElement>, 'size'> { brandVariant?: keyof typeof BrandColors; pictoVariant?: keyof typeof PictoColors; size?: `${Sizes}`; } declare const Logo: { ({ brandVariant, pictoVariant, size, ...props }: LogoProps): false | react_jsx_runtime.JSX.Element; displayName: string; }; export { DEFAULT_BRAND_COLOR as DEFAULT_LOGO_BRAND_COLOR, DEFAULT_PICTO_COLOR as DEFAULT_LOGO_PICTO_COLOR, DEFAULT_SIZE as DEFAULT_LOGO_SIZE, Logo, BrandColors as LogoBrandColors, PictoColors as LogoPictoColors, type LogoProps, Sizes as LogoSizes };