<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@datashaper/react](./react.md) &gt; [StepListProps](./react.steplistprops.md) &gt; [onDelete](./react.steplistprops.ondelete.md)

## StepListProps.onDelete property

Deletes a workflow step at the specified index

<b>Signature:</b>

```typescript
onDelete?: (index: number) => void;
```
