UNPKG

@ui5/webcomponents-react

Version:

React Wrapper for UI5 Web Components and additional components

25 lines (24 loc) 1.16 kB
'use client'; import '@ui5/webcomponents-fiori/dist/WizardStep.js'; import { withWebComponent } from '../../internal/withWebComponent.js'; /** * A component that represents a logical step as part of the `Wizard`. * It is meant to aggregate arbitrary HTML elements that form the content of a single step. * * ### Structure * * - Each wizard step has arbitrary content. * - Each wizard step might have texts - defined by the `titleText` and `subtitleText` properties. * - Each wizard step might have an icon - defined by the `icon` property. * - Each wizard step might display a number in place of the `icon`, when it's missing. * * ### Usage * The `WizardStep` component should be used only as slot of the `Wizard` component * and should not be used standalone. * * __Note__: This is a UI5 Web Component! [Repository](https://github.com/SAP/ui5-webcomponents) | [Documentation](https://sap.github.io/ui5-webcomponents/) * @abstract */ const WizardStep = withWebComponent('ui5-wizard-step', ['icon', 'subtitleText', 'titleText'], ['branching', 'disabled', 'selected'], [], []); WizardStep.displayName = 'WizardStep'; export { WizardStep };