Files
coder/site/components/Workspace/Workspace.stories.tsx
T
Bryan 4954a6b0a3 feat: Initial workspaces page route + skeleton (#220)
This implements an initial route for the workspaces page at `/workspaces/{user}/{workspace}`, and an additional storybook entry:

<img width="1723" alt="image" src="https://user-images.githubusercontent.com/88213859/153271281-801a5889-f60e-458c-809f-396a2d6385fa.png">

Just the header is rendering right now. Will be adding the additional sections prototyped in #219 in subsequent PRs

Related to https://github.com/coder/coder/issues/67
2022-02-15 20:49:56 -08:00

18 lines
420 B
TypeScript

import { Story } from "@storybook/react"
import React from "react"
import { Workspace, WorkspaceProps } from "./Workspace"
import { MockWorkspace } from "../../test_helpers"
export default {
title: "Workspace",
component: Workspace,
argTypes: {},
}
const Template: Story<WorkspaceProps> = (args) => <Workspace {...args} />
export const Example = Template.bind({})
Example.args = {
workspace: MockWorkspace,
}