forked from iTwin/admin-components-react
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAuthenticated.stories.tsx
More file actions
26 lines (21 loc) · 892 Bytes
/
Copy pathAuthenticated.stories.tsx
File metadata and controls
26 lines (21 loc) · 892 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*--------------------------------------------------------------------------------------------*/
import { Meta, Story } from "@storybook/react/types-6-0";
import React from "react";
import {
accessTokenArgTypes,
withAccessTokenOverride,
} from "../utils/storyHelp";
import { Authentiated, AuthenticatedProps } from "./Authenticated";
export default {
title: "Example/Authenticated",
component: Authentiated,
argTypes: accessTokenArgTypes,
} as Meta;
const Template: Story<AuthenticatedProps> = withAccessTokenOverride((args) => {
return <Authentiated {...args} />;
});
export const Primary = Template.bind({});
Primary.args = {};