UNPKG

@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.

35 lines (34 loc) 2.34 kB
import { ProgressType, ProgressSize, LabelPosition, OverlayBlur } from './types'; interface ProgressContainerProps { $type: ProgressType; $size: ProgressSize; $maxWidth?: string | number; $maxHeight?: string | number; $zIndex?: number; } export declare const ProgressContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ProgressContainerProps>> & string; interface ProgressBarProps { $value: number; $color?: string; $thickness?: number; $isIndeterminate?: boolean; $animation?: 'smooth' | 'none'; $animationDuration?: number; } export declare const LinearProgressBar: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ProgressBarProps>> & string; interface CircularProgressProps extends ProgressBarProps { $size: ProgressSize; } export declare const CircularProgress: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").SVGProps<SVGSVGElement>, CircularProgressProps>> & string; interface ProgressLabelProps { $position: LabelPosition; $type: ProgressType; } export declare const ProgressLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, ProgressLabelProps>> & string; interface OverlayProps { $color: string; $blur: OverlayBlur; } export declare const Overlay: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, OverlayProps>> & string; export declare const CancelButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string; export {};