@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
19 lines • 601 B
text/typescript
import { ComponentProps, ReactNode, Ref } from "react";
//#region src/base-ui/QRCode/type.d.ts
type QRCodeErrorLevel = 'L' | 'M' | 'Q' | 'H';
type QRCodeStatus = 'active' | 'loading' | 'expired';
interface QRCodeProps extends Omit<ComponentProps<'div'>, 'children'> {
bgColor?: string;
bordered?: boolean;
color?: string;
errorLevel?: QRCodeErrorLevel;
icon?: ReactNode;
onRefresh?: () => void;
ref?: Ref<HTMLDivElement>;
size?: number;
status?: QRCodeStatus;
value: string;
}
//#endregion
export { QRCodeErrorLevel, QRCodeProps, QRCodeStatus };
//# sourceMappingURL=type.d.mts.map