UNPKG

@undp/design-system-react

Version:

React based design system for UNDP

72 lines (48 loc) 2.16 kB
import { ClassProp } from 'class-variance-authority/types'; import { DayButton } from 'react-day-picker'; import { DayPicker } from 'react-day-picker'; import { JSX } from 'react/jsx-runtime'; import * as React_2 from 'react'; import { VariantProps } from 'class-variance-authority'; declare function Button({ className, variant, size, arrow, rounded, padding, asChild, ...props }: React_2.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & { asChild?: boolean; }): JSX.Element; declare const buttonVariants: (props?: ({ variant?: "link" | "error" | "warning" | "success" | "info" | "primary" | "secondary" | "tertiary" | "quaternary" | "surface" | "outline" | "icon" | "surface-hard" | "background" | "background-soft" | "foreground" | "foreground-soft" | null | undefined; arrow?: boolean | null | undefined; size?: "base" | "xs" | "sm" | "xl" | null | undefined; rounded?: "base" | "sm" | "md" | "lg" | "xl" | "2xl" | "full" | null | undefined; padding?: "base" | "sm" | "none" | null | undefined; } & ClassProp) | undefined) => string; export declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React_2.ComponentProps<typeof DayPicker> & { buttonVariant?: React_2.ComponentProps<typeof Button>['variant']; }): JSX.Element; export declare function CalendarDayButton({ className, day, modifiers, ...props }: React_2.ComponentProps<typeof DayButton>): JSX.Element; export { } declare namespace BreadcrumbSeparator { var displayName: string; } declare namespace BreadcrumbEllipsis { var displayName: string; } declare namespace DialogHeader { var displayName: string; } declare namespace DialogFooter { var displayName: string; } declare namespace PaginationUnit { var displayName: string; } declare namespace PaginationLink { var displayName: string; } declare namespace PaginationPrevious { var displayName: string; } declare namespace PaginationNext { var displayName: string; } declare namespace PaginationEllipsis { var displayName: string; }