react.steplistprops.md

March 27, 2023 ยท View on GitHub

Home > @datashaper/react > StepListProps

StepListProps interface

Signature:

export interface StepListProps 

Properties

PropertyModifiersTypeDescription
onDelete?(index: number) => void(Optional) Deletes a workflow step at the specified index
onSave?(step: Step, index?: number) => void(Optional) Event handler for when a step needs to be saved
onSelect?(name: string) => void(Optional) Event handler for when a step is selected.
onSelectInputTable?() => void(Optional) Event handler for when the input table is selected. 'Original' button will not be shown if this is not provided.
onSelectLatestTable?() => void(Optional) Event handler for when the latest output table is selected. 'Latest' button will not be shown if this is not provided.
order?DisplayOrder(Optional) The order to render the steps in. Default = latest on top
selectedKey?string(Optional) Id of the selected step
styles?StepListStyles(Optional) Styling for the step list
workflowWorkflowThe input workflow containing the step list