1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 07:49:41 +02:00

feat(ui): portainer wizard ui change for ce EE-3576 (#7405)

* ui change for wizard
This commit is contained in:
Richard Wei 2022-08-12 08:43:01 +12:00 committed by GitHub
parent a7ab0a5662
commit ee1ee633d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 272 additions and 77 deletions

View file

@ -19,7 +19,7 @@ export function NavTabs({ options, selectedId, onSelect = () => {} }: Props) {
const selected = options.find((option) => option.id === selectedId);
return (
<>
<div className="nav-container">
<ul className="nav nav-tabs">
{options.map((option) => (
<li
@ -49,7 +49,7 @@ export function NavTabs({ options, selectedId, onSelect = () => {} }: Props) {
{selected && selected.children && (
<div className="tab-content">{selected.children}</div>
)}
</>
</div>
);
function handleSelect(option: Option) {