Skip to content

Commit

Permalink
Image: Replace relative imports with absolute imports in storybook files
Browse files Browse the repository at this point in the history
  • Loading branch information
TristanWatanabe authored Jun 23, 2022
1 parent 36d25e9 commit 18a0c05
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react';
import { Image } from '../../Image';
import { Image } from '@fluentui/react-image';

export const Block = () => (
<>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react';
import { Image } from '../../Image';
import { Image } from '@fluentui/react-image';

export const Bordered = () => (
<div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import type { ImageProps } from '../../Image';
import type { ImageProps } from '@fluentui/react-image';
import type { ArgTypes, Parameters } from '@storybook/react';
import { Image } from '../../Image';
import { Image } from '@fluentui/react-image';

export const Default = (props: ImageProps) => {
return <Image {...props} />;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react';
import { Image } from '../../Image';
import { Image } from '@fluentui/react-image';

export const Fallback = () => (
<div style={{ display: 'flex', gap: 8 }}>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react';
import { Image } from '../../Image';
import { Image } from '@fluentui/react-image';

export const Fit = () => (
<>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react';
import { Image } from '../../Image';
import { Image } from '@fluentui/react-image';

export const Shadow = () => (
<Image shadow src="https://fabricweb.azureedge.net/fabric-website/placeholders/300x300.png" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react';
import { Image } from '../../Image';
import { Image } from '@fluentui/react-image';

export const Shape = () => (
<div style={{ display: 'flex', gap: 8 }}>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Image } from '../../Image';
import { Image } from '@fluentui/react-image';
import type { Meta } from '@storybook/react';
import descriptionMd from './ImageDescription.md';
import bestPracticesMd from './ImageBestPractices.md';
Expand Down

0 comments on commit 18a0c05

Please sign in to comment.