Properties of the button to add an item.

interface IAddButtonProps {
    buttonStyle?: "text" | "icons";
    onAddClick: ((event?) => void);
    translator?: ITranslator;
}

Hierarchy (view full)

Properties

buttonStyle?: "text" | "icons"

Button style.

onAddClick: ((event?) => void)

Function to call to add an item.

Type declaration

    • (event?): void
    • Parameters

      • Optional event: any

      Returns void

translator?: ITranslator

Translator for button text.