@salesforce/design-system-react
Version:
Salesforce Lightning Design System for React
18 lines (14 loc) • 519 B
JSX
import React from 'react';
import createReactClass from 'create-react-class';
import ProgressIndicator from '~/components/progress-indicator'; // `~` is replaced with design-system-react at runtime
const Example = createReactClass({
displayName: 'ProgressIndicatorStepError',
render() {
return (
<div style={{ padding: '4rem 1rem 0px' }}>
<ProgressIndicator {...this.props} />
</div>
);
},
});
export default Example; // export is replaced with `ReactDOM.render(<Example />, mountNode);` at runtime