import type { Component } from 'solid-js'; import type { RouteSectionProps } from '@solidjs/router'; import { createSignal } from 'solid-js'; import { SSButton, SSCallout, SSDropdown, SSShell, } from 'src'; import { IconBell, IconChart, IconDots, IconLink, IconSettings, IconShield, IconSpark, IconBolt, IconCheck, } from '../../demo/content'; const ShellLayout: Component = (props) => { const [notice, setNotice] = createSignal(false); return ( Export } items={[ { label: 'Settings', icon: }, { label: 'Share', icon: }, ]} /> } nav={ }>Overview }>Forms }>Data }>Modals } initiallyExpanded> }>Surfaces & tiles setNotice(true)} icon={}> Ping team } > {notice() && (
}> Team notified. The update will appear in the activity feed. setNotice(false)}> Clear
)} {props.children}
); }; export default ShellLayout;