@matthew.ngo/react-form-kit
Version:
Form Kit for React. It consists of a set of components that can be used to create complex forms in a simple and declarative way.
23 lines (22 loc) • 1.34 kB
TypeScript
import { BadgeType, BadgeSize, BadgeShape, BadgePosition, BadgeAnimation } from './types';
interface StyledBadgeProps {
$type: BadgeType;
$size: BadgeSize;
$shape: BadgeShape;
$position: BadgePosition;
$color?: string;
$backgroundColor?: string;
$offsetX: number;
$offsetY: number;
$isInteractive: boolean;
$animation: BadgeAnimation;
$animationDuration: number;
$zIndex: number;
}
interface StyledBadgeWrapperProps {
$disablePortal: boolean;
}
export declare const StyledBadgeWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledBadgeWrapperProps>> & string;
export declare const StyledBadgeContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
export declare const StyledBadge: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledBadgeProps>> & string;
export {};