component
An alias for the template property specified in React. Accepts a custom component. Refer to Using a Custom Component for more information.
disabled
Specifies whether the UI component item responds to user interaction.
hint
Specifies the hint text that appears when an item (step) is hovered over or long-pressed.
icon
Specifies the indicator icon.
This property accepts one of the following:
- The icon's URL
- The icon's name if the icon is from the DevExtreme icon library
- The icon's CSS class if the icon is from an external icon library (see External Icon Libraries)
- The icon in the Base64 format
- The icon in the SVG format. Ensure that the source is reliable.
isValid
Specifies a visual indicator for validation.
- If
false, a step displays a "validation failed" state. - If
true, a step displays a "validation succeeded" state. - If
undefined, a step shows no validation information.
optional
Marks the step as optional.
- If
falseorundefined, a step shows no "optional" information. - If
true, a step displays an "(Optional)" caption.
render
An alias for the template property specified in React. Accepts a rendering function. Refer to Using a Rendering Function for more information.
template
Specifies a template that should be used to render this item only.
For more information about templates, refer to the following help topic: DevExtreme React - Custom Templates.
- import React from 'react';
- import Stepper, {
- Item
- } from 'devextreme-react/stepper';
- const renderCustomItem = () => {
- return <div>Custom Item</div>;
- }
- const App() = () => {
- return (
- <Stepper ... >
- <Item ...
- render={renderCustomItem}
- >
- </Item>
- </Stepper>
- );
- }
- export default App;