Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

Commit c2512cd

Browse files
committed
Replace src imports in docs with fluentui/react imports
1 parent 1a788dc commit c2512cd

File tree

11 files changed

+11
-18
lines changed

11 files changed

+11
-18
lines changed

docs/src/components/ComponentDoc/ComponentControls/ComponentControlsCopyLink.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as React from 'react'
22
import * as _ from 'lodash'
3-
import { Icon, Tooltip } from 'src/index'
3+
import { Icon, Tooltip } from '@fluentui/react'
44

55
export default class ComponentControlsCopyLink extends React.Component<any, any> {
66
mounted: boolean

docs/src/components/ComponentDoc/ComponentExample/ComponentExampleColorPicker.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
import { ProviderContextPrepared } from '@fluentui/react'
1+
import { ProviderContextPrepared, ColorVariants } from '@fluentui/react'
22
import * as Color from 'color'
33
import * as _ from 'lodash'
44
import * as React from 'react'
55
// @ts-ignore
66
import { ThemeContext } from 'react-fela'
77

8-
import { ColorVariants } from 'src/themes/types'
9-
108
type ComponentExampleColorPickerProps = {
119
onChange: (colorValue: string) => void
1210
variableValue: string

docs/src/prototypes/EditorToolbar/EditorToolbarTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as React from 'react'
22
import * as _ from 'lodash'
3-
import { Grid } from 'src/index'
3+
import { Grid } from '@fluentui/react'
44

55
type EditorToolbarTableProps = {
66
onClick: () => void

docs/src/prototypes/chatPane/chatPaneContent.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import * as React from 'react'
22
import Scrollbars from 'react-custom-scrollbars'
3-
import { Chat, Divider, Avatar } from '@fluentui/react'
3+
import { Chat, Divider, Avatar, Props } from '@fluentui/react'
44

5-
import { Props } from 'src/types'
65
import { ChatData, ChatItemTypes, generateChatProps } from './services'
76
import chatProtoStyle from './chatProtoStyle'
87

docs/src/prototypes/chatPane/chatPaneLayout.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import * as React from 'react'
2-
import { Flex } from '@fluentui/react'
3-
import { Props } from 'src/types'
2+
import { Flex, Props } from '@fluentui/react'
43
import { ChatData } from './services'
54

65
import ChatPaneHeader from './chatPaneHeader'

docs/src/prototypes/chatPane/composeMessage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import {
99
ShorthandCollection,
1010
IconXSpacing,
1111
ICSSInJSStyle,
12+
Props,
1213
} from '@fluentui/react'
1314

14-
import { Props } from 'src/types'
1515
import chatProtoStyle from './chatProtoStyle'
1616

1717
type ComposeMessageProps = Props<{

docs/src/prototypes/chatPane/services/messageFactoryMock.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ import {
77
ChatMessageProps,
88
DividerProps,
99
StatusProps,
10+
ShorthandValue,
1011
} from '@fluentui/react'
1112
import * as React from 'react'
1213
import * as _ from 'lodash'
1314
import * as keyboardKey from 'keyboard-key'
14-
import { ShorthandValue } from 'src/types'
1515
import { ChatData, UserStatus, MessageData, UserData, areSameDay, getFriendlyDateString } from '.'
1616

1717
export enum ChatItemTypes {

docs/src/prototypes/employeeCard/EmployeeCard.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import * as React from 'react'
2-
import { ShorthandValue } from 'src/types'
3-
import { Avatar, AvatarProps, Divider, Extendable, Grid } from '@fluentui/react'
2+
import { Avatar, AvatarProps, Divider, Extendable, Grid, ShorthandValue } from '@fluentui/react'
43
import CustomText from './CustomText'
54

65
export interface EmployeeCardProps {

docs/src/prototypes/meetingOptions/components/MSTeamsLogo.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import * as React from 'react'
2-
import { Provider, Text, Icon, IconProps } from '@fluentui/react'
3-
import { ShorthandValue } from 'src/types'
2+
import { Provider, Text, Icon, IconProps, ShorthandValue } from '@fluentui/react'
43

54
export interface LogoProps {
65
companyName?: string

docs/src/prototypes/popups/GridImagePicker/GridImagePicker.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
import { Grid, Input, gridBehavior, IconProps } from '@fluentui/react'
1+
import { Grid, Input, gridBehavior, IconProps, ShorthandValue } from '@fluentui/react'
22
import * as React from 'react'
33
import * as _ from 'lodash'
44

5-
import { ShorthandValue } from 'src/types'
65
import GridImagePickerItem, { GridPickerItemProps } from './GridImagePickerItem'
76

87
export interface GridPickerProps {

docs/src/views/IntegrateCustomComponents.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ import {
66
createComponent,
77
ComponentSlotStyle,
88
ComponentVariablesInput,
9+
ReactChildren,
910
} from '@fluentui/react'
1011

1112
import DocPage from '../components/DocPage/DocPage'
1213
import ExampleSnippet from '../components/ExampleSnippet/ExampleSnippet'
13-
import { ReactChildren } from 'src/types'
1414
import GuidesNavigationFooter from '../components/GuidesNavigationFooter'
1515

1616
interface StyledButtonProps {

0 commit comments

Comments
 (0)