| 1 |
import { Button, Wizard, WizardStep } from '@patternfly/react-core'; |
| 2 |
import RhMicronsExternalLinkIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-external-link-icon'; |
| 3 |
import SlackHashIcon from '@patternfly/react-icons/dist/esm/icons/slack-hash-icon'; |
| 4 |
|
| 5 |
export const WizardWithNavAnchors: React.FunctionComponent = () => ( |
| 6 |
<Wizard height={400} title="Anchor link wizard"> |
| 7 |
<WizardStep |
| 8 |
name={ |
| 9 |
<> |
| 10 |
<RhMicronsExternalLinkIcon /> PF3 |
| 11 |
</> |
| 12 |
} |
| 13 |
id="navanchors-pf3-step" |
| 14 |
navItem={{ component: 'a', href: 'https://www.patternfly.org/v3', target: '_blank' }} |
| 15 |
> |
| 16 |
Step 1: Read about PF3 |
| 17 |
</WizardStep> |
| 18 |
<WizardStep |
| 19 |
name={ |
| 20 |
<> |
| 21 |
<RhMicronsExternalLinkIcon /> PF4 |
| 22 |
</> |
| 23 |
} |
| 24 |
id="navanchors-pf4-step" |
| 25 |
navItem={{ component: 'a', href: 'https://www.patternfly.org/v4', target: '_blank' }} |
| 26 |
> |
| 27 |
Step 2: Read about PF4 |
| 28 |
</WizardStep> |
| 29 |
<WizardStep |
| 30 |
name={ |
| 31 |
<> |
| 32 |
<SlackHashIcon /> Join us on slack |
| 33 |
</> |
| 34 |
} |
| 35 |
id="navanchors-slack-step" |
| 36 |
navItem={{ component: 'a', href: 'https://patternfly.slack.com', target: '_blank' }} |
| 37 |
> |
| 38 |
<Button variant="link" component="a" target="_blank" href="https://patternfly.slack.com"> |
| 39 |
Join the conversation |
| 40 |
</Button> |
| 41 |
</WizardStep> |
| 42 |
</Wizard> |
| 43 |
); |