Skip to content

Commit 640408c

Browse files
authored
chore(react-card): add design templates to stories (#23841)
1 parent 588d72b commit 640408c

16 files changed

Lines changed: 326 additions & 13 deletions
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "none",
3+
"comment": "chore: add templates to stories",
4+
"packageName": "@fluentui/react-card",
5+
"email": "39736248+andrefcdias@users.noreply.github.com",
6+
"dependentChangeType": "none"
7+
}
Lines changed: 9 additions & 0 deletions
Loading

packages/react-components/react-card/assets/avatar_colin.svg

Lines changed: 13 additions & 0 deletions
Loading
Lines changed: 24 additions & 0 deletions
Loading
Lines changed: 11 additions & 0 deletions
Loading
Lines changed: 17 additions & 0 deletions
Loading
140 KB
Loading
15.9 KB
Loading

packages/react-components/react-card/src/stories/Card/CardAppearance.stories.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import * as React from 'react';
22
import { action } from '@storybook/addon-actions';
3-
import { Subtitle1 } from '@fluentui/react-text';
4-
import { makeStyles, shorthands } from '@griffel/react';
3+
import { makeStyles, shorthands, Subtitle1 } from '@fluentui/react-components';
54
import { SampleCard } from './SampleCard.stories';
65

76
const useStyles = makeStyles({

packages/react-components/react-card/src/stories/Card/CardDefault.stories.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import * as React from 'react';
22

3-
import { Body1, Caption1 } from '@fluentui/react-text';
4-
5-
import { Button } from '@fluentui/react-button';
3+
import { Body1, Caption1, Button } from '@fluentui/react-components';
64
import { ArrowReplyRegular, ShareRegular } from '@fluentui/react-icons';
75
import { Card, CardFooter, CardHeader, CardPreview } from '@fluentui/react-card';
86
import { ASSET_URL } from './SampleCard.stories';

0 commit comments

Comments
 (0)