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

Commit c9cfb51

Browse files
authored
docs(Examples): fix imports in all examples to TS style (#631)
* docs(Examples): fix imports in all examples to TS style * fix imports
1 parent 07cbb57 commit c9cfb51

File tree

270 files changed

+280
-281
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

270 files changed

+280
-281
lines changed

build/tsconfig.docs.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{
22
"extends": "./tsconfig.common.json",
33
"compilerOptions": {
4-
"module": "esnext",
5-
"allowSyntheticDefaultImports": true
4+
"module": "esnext"
65
},
76
"include": [
87
"../src",

docs/src/examples/components/Accordion/Types/AccordionExample.shorthand.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React from 'react'
1+
import * as React from 'react'
22
import { Accordion } from '@stardust-ui/react'
33

44
const panels = [

docs/src/examples/components/Accordion/Types/AccordionExclusiveExample.shorthand.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React from 'react'
1+
import * as React from 'react'
22
import { Accordion } from '@stardust-ui/react'
33

44
const panels = [

docs/src/examples/components/Accordion/Types/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React from 'react'
1+
import * as React from 'react'
22
import ComponentExample from 'docs/src/components/ComponentDoc/ComponentExample'
33
import ExampleSection from 'docs/src/components/ComponentDoc/ExampleSection'
44

docs/src/examples/components/Accordion/Variations/AccordionExampleList.shorthand.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React from 'react'
1+
import * as React from 'react'
22
import { Accordion, Button } from '@stardust-ui/react'
33

44
class AccordionExampleList extends React.Component {

docs/src/examples/components/Accordion/Variations/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React from 'react'
1+
import * as React from 'react'
22
import ComponentExample from 'docs/src/components/ComponentDoc/ComponentExample'
33
import ExampleSection from 'docs/src/components/ComponentDoc/ExampleSection'
44

docs/src/examples/components/Accordion/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React from 'react'
1+
import * as React from 'react'
22
import Types from './Types'
33
import Variations from './Variations'
44

docs/src/examples/components/Animation/Types/AnimationExamplePlayState.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React from 'react'
1+
import * as React from 'react'
22
import { Icon, Button, Animation, Provider } from '@stardust-ui/react'
33

44
const spinner = {

docs/src/examples/components/Attachment/Slots/AttachmentActionExample.shorthand.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React from 'react'
1+
import * as React from 'react'
22
import { Attachment } from '@stardust-ui/react'
33

44
class AttachmentActionExampleShorthand extends React.Component {

docs/src/examples/components/Attachment/Slots/AttachmentDescriptionExample.shorthand.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React from 'react'
1+
import * as React from 'react'
22
import { Attachment } from '@stardust-ui/react'
33

44
const AttachmentDescriptionExampleShorthand = () => (

0 commit comments

Comments
 (0)