The props of the InsertTablePopup component.

anchor HTMLButtonElement | null

The element which will be used as an anchor.

columns? number

The number of columns.

createTableHintMessage string

The Create a {0} x {1} table message.

createTableMessage string

The Create a table message.

dir? string

The dir HTML attribute.

onClose () => void

The close event which will be triggered when the InsertTablePopup is about to be closed.

onTableInsert (row: number, col: number) => void

The onTableInsert event which will be triggered when a cell in InsertTablePopup is clicked.

rows? number

The number of rows.

show boolean

Controls the visibility of the Popup.