dgz-ui
Version:
Custom ui library using React.js, Shadcn/ui, TailwindCSS, Typescript
24 lines • 996 B
TypeScript
import type { HTMLAttributes } from 'react';
/**
* Props for FilepondContainer component wrapper.
* Extends standard div HTML attributes.
*
* @property {'default' | 'failure'} [variant='default'] - Visual state; when set to 'failure', the inner FilePond drip/label uses destructive colors.
*/
type FilepondContainerProps = HTMLAttributes<HTMLDivElement> & {
variant?: 'default' | 'failure';
};
/**
* Styled wrapper for FilePond root container that adapts styles based on validation state.
*
* @component
* @param {FilepondContainerProps} props - Component props.
* @param {'default'|'failure'} [props.variant='default'] - Controls error visualization.
* @returns {JSX.Element}
*/
declare function FilepondContainer({ variant, ...props }: FilepondContainerProps): import("react/jsx-runtime").JSX.Element;
declare namespace FilepondContainer {
var displayName: string;
}
export { FilepondContainer, type FilepondContainerProps };
//# sourceMappingURL=filepond-container.d.ts.map