Represents the props for the title bar component.

interface ActionGroupProps {
    closeHandler?: Awaitable<void>;
    maximizeHandler?: Awaitable<void>;
    minimizeHandler?: Awaitable<void>;
}

Properties

closeHandler?: Awaitable<void>

The handler function to be called when the close button is clicked. It should return a promise or be an async function.

Example

const closeButton = () => {
console.log('Close button clicked');
}
maximizeHandler?: Awaitable<void>

The handler function to be called when the maximize button is clicked. It should return a promise or be an async function.

Example

const maximizeButton = () => {
console.log('Maximize button clicked');
}
minimizeHandler?: Awaitable<void>

The handler function to be called when the minimize button is clicked. It should return a promise or be an async function.

Example

const minimizeButton = () => {
console.log('Minimize button clicked');
}

Generated using TypeDoc