diff --git a/frontend/packages/core/src/AppLayout/stories/header.stories.tsx b/frontend/packages/core/src/AppLayout/stories/header.stories.tsx index dba49e0dc6..8126e3cbed 100644 --- a/frontend/packages/core/src/AppLayout/stories/header.stories.tsx +++ b/frontend/packages/core/src/AppLayout/stories/header.stories.tsx @@ -2,6 +2,8 @@ import * as React from "react"; import { MemoryRouter } from "react-router"; import type { Meta } from "@storybook/react"; +import ResizeAutoscalingGroup from "../../../../../workflows/ec2/src/resize-asg"; +import TerminateInstance from "../../../../../workflows/ec2/src/terminate-instance"; import { ApplicationContext } from "../../Contexts/app-context"; import Header from "../header"; @@ -16,7 +18,37 @@ export default { ), StoryFn => { return ( - + ); diff --git a/frontend/packages/core/src/AppLayout/stories/searchfield.stories.tsx b/frontend/packages/core/src/AppLayout/stories/searchfield.stories.tsx index 8769d7c7e8..16d3202641 100644 --- a/frontend/packages/core/src/AppLayout/stories/searchfield.stories.tsx +++ b/frontend/packages/core/src/AppLayout/stories/searchfield.stories.tsx @@ -1,5 +1,7 @@ import * as React from "react"; import { MemoryRouter } from "react-router"; +import styled from "@emotion/styled"; +import { Box, Grid as MuiGrid } from "@material-ui/core"; import type { Meta } from "@storybook/react"; import ResizeAutoscalingGroup from "../../../../../workflows/ec2/src/resize-asg"; @@ -11,11 +13,13 @@ export default { title: "Core/AppLayout/Search Field", component: SearchField, decorators: [ - () => ( - - - - ), + Search => { + return ( + + + + ); + }, StoryFn => { return ( = () => ; +const Grid = styled(MuiGrid)({ + height: "64px", + backgroundColor: "#131C5F", +}); + +const Template = () => ( + + + + + +); + +export const Primary = Template.bind({}); diff --git a/frontend/packages/core/src/AppLayout/stories/user-information.stories.tsx b/frontend/packages/core/src/AppLayout/stories/user-information.stories.tsx index 91a70fe3e7..5136d1b226 100644 --- a/frontend/packages/core/src/AppLayout/stories/user-information.stories.tsx +++ b/frontend/packages/core/src/AppLayout/stories/user-information.stories.tsx @@ -16,7 +16,7 @@ export default { } as Meta; const Template = () => ( - + );