UNPKG

776 BTypeScriptView Raw
1import { type HTMLChakraProps, type RecipeProps, type UnstyledProp } from "../../styled-system";
2export declare const PropsProvider: import("react").Provider<Record<string, any>>, withContext: <T, P>(Component: React.ElementType<any>, options?: import("../..").JsxFactoryOptions<P> | undefined) => import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<P> & import("react").RefAttributes<T>>;
3export interface BadgeBaseProps extends RecipeProps<"badge">, UnstyledProp {
4}
5export interface BadgeProps extends HTMLChakraProps<"span", BadgeBaseProps> {
6}
7export declare const Badge: import("react").ForwardRefExoticComponent<BadgeProps & import("react").RefAttributes<HTMLSpanElement>>;
8export declare const BadgePropsProvider: React.Provider<BadgeBaseProps>;