Interface ILabCustomizerOptions<P>

Properties for React JSON schema form's container template (array and object).

interface ILabCustomizerOptions<P> {
    buttonStyle?: "text" | "icons";
    compact?: boolean;
    component: FunctionComponent<P & Required<ILabCustomizerProps>>;
    name?: string;
    showModifiedFromDefault?: boolean;
    translator?: ITranslator;
}

Type Parameters

  • P

Hierarchy (view full)

Properties

buttonStyle?: "text" | "icons"

Button style.

compact?: boolean

Whether the container is in compact mode or not. In compact mode the title and description are displayed more compactness.

component: FunctionComponent<P & Required<ILabCustomizerProps>>
name?: string
showModifiedFromDefault?: boolean

Whether to display if the current value is not the default one.

translator?: ITranslator

Translator for button text.