docs(uishell): replace with header

This commit is contained in:
Marcus Feitoza 2020-04-18 12:44:24 -03:00
commit b79567f932
2 changed files with 65 additions and 37 deletions

View file

@ -3,27 +3,47 @@ import Component from './UIShell.Story.svelte';
export default { title: 'UIShell', decorators: [withKnobs] };
export const WithNav = () => ({
export const Base = () => ({
Component,
props: {
story: 'with-nav',
story: 'base',
href: text('The link href (href)', '#'),
company: text('Company name', 'IBM'),
platformName: text('Platform name', 'Platform Name')
}
});
export const WithActions = () => ({
export const WithHeaderAndNav = () => ({
Component,
props: {
story: 'with-actions',
story: 'with-header-and-nav',
href: text('The link href (href)', '#'),
company: text('Company name', 'IBM'),
platformName: text('Platform name', 'Platform Name')
}
});
export const WithActionsAndSidenav = () => ({
export const WithUtilities = () => ({
Component,
props: {
story: 'with-utilities',
href: text('The link href (href)', '#'),
company: text('Company name', 'IBM'),
platformName: text('Platform name', 'Platform Name')
}
});
export const WithSwitcher = () => ({
Component,
props: {
story: 'with-switcher',
href: text('The link href (href)', '#'),
company: text('Company name', 'IBM'),
platformName: text('Platform name', 'Platform Name')
}
});
export const WithSidenav = () => ({
Component,
props: {
story: 'with-sidenav',