UNPKG

v12-ui

Version:

A React component library with a focus on utility-first design and accessibility.

22 lines (21 loc) 1.16 kB
import { ComponentPropsWithRef } from 'react'; import { VariantProps } from 'class-variance-authority'; import { WithoutSharedProperties } from '../utils/polymorphicTypes'; type ThemeProps = {} & VariantProps<typeof div>['theme']; declare const div: (props?: ({ theme?: "dark" | "light" | "transparent" | null | undefined; } & import('class-variance-authority/types').ClassProp) | undefined) => string; declare const canvas: (props?: ({ theme?: "dark" | "light" | "transparent" | null | undefined; } & import('class-variance-authority/types').ClassProp) | undefined) => string; type HexColor = `#${string}`; export interface PropsAnimatedBackground extends WithoutSharedProperties<ComponentPropsWithRef<'div'>>, VariantProps<typeof div>, VariantProps<typeof canvas> { theme?: ThemeProps; bubbleGradiant1?: [HexColor, HexColor]; bubbleGradiant2?: [HexColor, HexColor]; bubbleGradiant3?: [HexColor, HexColor]; zIndex?: number; className?: string; } export declare const AnimatedBackground: import('react').ForwardRefExoticComponent<Omit<PropsAnimatedBackground, "ref"> & import('react').RefAttributes<HTMLDivElement>>; export {};