Skip to content

Commit

Permalink
docs(react-swatch-picker): fixed imports in stories (microsoft#31578)
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinaKozlova authored Jun 7, 2024
1 parent fad6914 commit 0ba28e9
Show file tree
Hide file tree
Showing 11 changed files with 30 additions and 34 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import * as React from 'react';
import { HeartFilled } from '@fluentui/react-icons';
import { makeStyles } from '@fluentui/react-components';
import { ColorSwatch } from '@fluentui/react-components';
import { makeStyles, ColorSwatch } from '@fluentui/react-components';

const useStyles = makeStyles({
example: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import { makeStyles, Button, Label } from '@fluentui/react-components';
import { SwatchPicker, EmptySwatch, ColorSwatch, SwatchPickerOnSelectEventHandler } from '@fluentui/react-components';
import { makeStyles, Button, Label, SwatchPicker, EmptySwatch, ColorSwatch } from '@fluentui/react-components';
import type { SwatchPickerOnSelectEventHandler } from '@fluentui/react-components';

const useStyles = makeStyles({
example: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import { makeStyles } from '@fluentui/react-components';
import { SwatchPicker, ColorSwatch, SwatchPickerOnSelectEventHandler } from '@fluentui/react-components';
import { makeStyles, SwatchPicker, ColorSwatch } from '@fluentui/react-components';
import type { SwatchPickerOnSelectEventHandler } from '@fluentui/react-components';

const useStyles = makeStyles({
example: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import { makeStyles } from '@fluentui/react-components';
import { SwatchPicker, SwatchPickerOnSelectEventHandler, ImageSwatch } from '@fluentui/react-components';
import { makeStyles, SwatchPicker, ImageSwatch } from '@fluentui/react-components';
import type { SwatchPickerOnSelectEventHandler } from '@fluentui/react-components';

const useStyles = makeStyles({
example: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
import * as React from 'react';
import { makeStyles } from '@fluentui/react-components';
import {
SwatchPicker,
SwatchPickerOnSelectEventHandler,
ColorSwatch,
renderSwatchPickerGrid,
} from '@fluentui/react-components';
import { SwatchPicker, ColorSwatch, renderSwatchPickerGrid } from '@fluentui/react-components';
import type { SwatchPickerOnSelectEventHandler } from '@fluentui/react-components';

const useStyles = makeStyles({
example: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import * as React from 'react';
import { makeStyles } from '@fluentui/react-components';
import { SwatchPicker, SwatchPickerOnSelectEventHandler, renderSwatchPickerGrid } from '@fluentui/react-components';
import type { ColorSwatchProps, ImageSwatchProps, SwatchProps } from '@fluentui/react-components';
import { makeStyles, SwatchPicker, renderSwatchPickerGrid } from '@fluentui/react-components';
import type {
ColorSwatchProps,
ImageSwatchProps,
SwatchProps,
SwatchPickerOnSelectEventHandler,
} from '@fluentui/react-components';

const useStyles = makeStyles({
example: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
import * as React from 'react';
import { makeStyles, Button, Popover, PopoverSurface, PopoverTrigger } from '@fluentui/react-components';
import { SwatchPicker, ColorSwatch } from '@fluentui/react-components';
import {
makeStyles,
Button,
Popover,
PopoverSurface,
PopoverTrigger,
SwatchPicker,
ColorSwatch,
} from '@fluentui/react-components';
import type { SwatchPickerOnSelectEventHandler } from '@fluentui/react-components';

const useStyles = makeStyles({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import * as React from 'react';
import { makeStyles } from '@fluentui/react-components';
import { SwatchPicker, ColorSwatch } from '@fluentui/react-components';
import { makeStyles, SwatchPicker, ColorSwatch } from '@fluentui/react-components';

const useStyles = makeStyles({
example: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import * as React from 'react';
import { makeStyles } from '@fluentui/react-components';
import { SwatchPicker, ColorSwatch } from '@fluentui/react-components';
import { makeStyles, SwatchPicker, ColorSwatch } from '@fluentui/react-components';

const useStyles = makeStyles({
example: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import * as React from 'react';
import { makeStyles } from '@fluentui/react-components';
import { SwatchPicker, renderSwatchPickerGrid } from '@fluentui/react-components';
import { makeStyles, SwatchPicker, renderSwatchPickerGrid } from '@fluentui/react-components';

const useStyles = makeStyles({
example: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
import * as React from 'react';
import { makeStyles, Tooltip } from '@fluentui/react-components';
import {
SwatchPicker,
ColorSwatch,
ColorSwatchProps,
SwatchProps,
SwatchPickerOnSelectEventHandler,
renderSwatchPickerGrid,
} from '@fluentui/react-components';
import { makeStyles, Tooltip, SwatchPicker, ColorSwatch, renderSwatchPickerGrid } from '@fluentui/react-components';
import type { ColorSwatchProps, SwatchProps, SwatchPickerOnSelectEventHandler } from '@fluentui/react-components';

const useStyles = makeStyles({
example: {
Expand Down

0 comments on commit 0ba28e9

Please sign in to comment.