@kwiz/fluentui
Version:
KWIZ common controls for FluentUI
30 lines (29 loc) • 913 B
TypeScript
import * as React from "react";
interface iProps {
BackgroundColor?: string;
BorderColor?: string;
LineColor?: string;
minWidth?: number;
minHeight?: number;
/** url or base64 image data:image/png;base64,.... */
Value?: string;
/** when user hits clear, it will reset to this value
* url or base64 image data:image/png;base64,....
*/
DefaultBackdrop?: string;
OnChange?: (newValue: string) => void;
ReadOnly?: boolean;
HideUpload?: boolean;
HideClear?: boolean;
HideColorPicker?: boolean;
disabled?: boolean;
/** true - will prompt user for his name, string will just sign as that string */
allowSigning?: boolean | string;
allowFullscreen?: boolean;
}
export declare const DrawPadUserName: {
get: () => string;
set: (userName: string) => void;
};
export declare const DrawPad: React.FunctionComponent<iProps>;
export {};