@activecollab/components
Version:
ActiveCollab Components
17 lines • 816 B
TypeScript
import React, { Ref } from "react";
import { Variant } from "../Typography/Typography";
export interface EditableContentInterface {
/** Typography variant. */
variant?: Variant;
/** Typography weight. */
weight?: "light" | "regular" | "bold" | "medium";
/** Input props. */
inputProps?: Partial<React.ComponentPropsWithoutRef<"input">>;
/** Disable edit mode. */
disabled?: boolean;
invalid?: boolean;
/** Wrapper reference. */
wrapRef?: Ref<HTMLDivElement>;
}
export declare const EditableContent: React.ForwardRefExoticComponent<EditableContentInterface & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, keyof EditableContentInterface> & React.RefAttributes<HTMLDivElement>>;
//# sourceMappingURL=EditableContent.d.ts.map