diff --git a/docs/app/Examples/elements/Icon/Groups/IconCornerGroupExample.js b/docs/app/Examples/elements/Icon/Groups/IconCornerGroupExample.js deleted file mode 100644 index 6b89756abe..0000000000 --- a/docs/app/Examples/elements/Icon/Groups/IconCornerGroupExample.js +++ /dev/null @@ -1,13 +0,0 @@ -import React, { Component } from 'react' -import { Icon } from 'semantic-ui-react' - -export default class IconCornerGroupExample extends Component { - render() { - return ( - - - - - ) - } -} diff --git a/docs/app/Examples/elements/Icon/Groups/IconExampleCornerGroup.js b/docs/app/Examples/elements/Icon/Groups/IconExampleCornerGroup.js new file mode 100644 index 0000000000..48ca986a91 --- /dev/null +++ b/docs/app/Examples/elements/Icon/Groups/IconExampleCornerGroup.js @@ -0,0 +1,11 @@ +import React from 'react' +import { Icon } from 'semantic-ui-react' + +const IconExampleCornerGroup = () => ( + + + + +) + +export default IconExampleCornerGroup diff --git a/docs/app/Examples/elements/Icon/Groups/IconExampleIconGroup.js b/docs/app/Examples/elements/Icon/Groups/IconExampleIconGroup.js new file mode 100644 index 0000000000..92a04e0869 --- /dev/null +++ b/docs/app/Examples/elements/Icon/Groups/IconExampleIconGroup.js @@ -0,0 +1,11 @@ +import React from 'react' +import { Icon } from 'semantic-ui-react' + +const IconExampleIconGroup = () => ( + + + + +) + +export default IconExampleIconGroup diff --git a/docs/app/Examples/elements/Icon/Groups/IconExampleLoadingGroup.js b/docs/app/Examples/elements/Icon/Groups/IconExampleLoadingGroup.js new file mode 100644 index 0000000000..2761c31287 --- /dev/null +++ b/docs/app/Examples/elements/Icon/Groups/IconExampleLoadingGroup.js @@ -0,0 +1,17 @@ +import React from 'react' +import { Icon } from 'semantic-ui-react' + +const IconExampleLoadingGroup = () => ( +
+ + + + + + + + +
+) + +export default IconExampleLoadingGroup diff --git a/docs/app/Examples/elements/Icon/Groups/IconExampleTwitterGroup.js b/docs/app/Examples/elements/Icon/Groups/IconExampleTwitterGroup.js new file mode 100644 index 0000000000..e5da3d9764 --- /dev/null +++ b/docs/app/Examples/elements/Icon/Groups/IconExampleTwitterGroup.js @@ -0,0 +1,14 @@ +import React from 'react' +import { Header, Icon } from 'semantic-ui-react' + +const IconExampleTwitterGroup = () => ( +
+ + + + + Add on Twitter +
+) + +export default IconExampleTwitterGroup diff --git a/docs/app/Examples/elements/Icon/Groups/IconIconGroupExample.js b/docs/app/Examples/elements/Icon/Groups/IconIconGroupExample.js deleted file mode 100644 index 95049d57c0..0000000000 --- a/docs/app/Examples/elements/Icon/Groups/IconIconGroupExample.js +++ /dev/null @@ -1,13 +0,0 @@ -import React, { Component } from 'react' -import { Icon } from 'semantic-ui-react' - -export default class IconIconGroupExample extends Component { - render() { - return ( - - - - - ) - } -} diff --git a/docs/app/Examples/elements/Icon/Groups/IconLoadingGroupExample.js b/docs/app/Examples/elements/Icon/Groups/IconLoadingGroupExample.js deleted file mode 100644 index 7e66664fb9..0000000000 --- a/docs/app/Examples/elements/Icon/Groups/IconLoadingGroupExample.js +++ /dev/null @@ -1,19 +0,0 @@ -import React, { Component } from 'react' -import { Icon } from 'semantic-ui-react' - -export default class IconLoadingGroupExample extends Component { - render() { - return ( -
- - - - - - - - -
- ) - } -} diff --git a/docs/app/Examples/elements/Icon/Groups/IconTwitterGroupExample.js b/docs/app/Examples/elements/Icon/Groups/IconTwitterGroupExample.js deleted file mode 100644 index ac2a769b58..0000000000 --- a/docs/app/Examples/elements/Icon/Groups/IconTwitterGroupExample.js +++ /dev/null @@ -1,16 +0,0 @@ -import React, { Component } from 'react' -import { Header, Icon } from 'semantic-ui-react' - -export default class IconTwitterGroupExample extends Component { - render() { - return ( -
- - - - - Add on Twitter -
- ) - } -} diff --git a/docs/app/Examples/elements/Icon/Groups/index.js b/docs/app/Examples/elements/Icon/Groups/index.js index 5cfe322a80..75463aa5b4 100644 --- a/docs/app/Examples/elements/Icon/Groups/index.js +++ b/docs/app/Examples/elements/Icon/Groups/index.js @@ -1,28 +1,26 @@ -import React, { Component } from 'react' +import React from 'react' import ComponentExample from 'docs/app/Components/ComponentDoc/ComponentExample' import ExampleSection from 'docs/app/Components/ComponentDoc/ExampleSection' -export default class IconGroupsExamples extends Component { - render() { - return ( - - - - - - - ) - } -} +const IconGroupsExamples = () => ( + + + + + + +) + +export default IconGroupsExamples diff --git a/docs/app/Examples/elements/Icon/IconSet/IconAccessibilityExample.js b/docs/app/Examples/elements/Icon/IconSet/IconExampleAccessibility.js similarity index 93% rename from docs/app/Examples/elements/Icon/IconSet/IconAccessibilityExample.js rename to docs/app/Examples/elements/Icon/IconSet/IconExampleAccessibility.js index 8aac18c998..a2ef9f8339 100644 --- a/docs/app/Examples/elements/Icon/IconSet/IconAccessibilityExample.js +++ b/docs/app/Examples/elements/Icon/IconSet/IconExampleAccessibility.js @@ -1,7 +1,7 @@ import React from 'react' import { Grid, Icon } from 'semantic-ui-react' -const IconAccessibilityExample = () => ( +const IconExampleAccessibility = () => ( @@ -50,4 +50,4 @@ const IconAccessibilityExample = () => ( ) -export default IconAccessibilityExample +export default IconExampleAccessibility diff --git a/docs/app/Examples/elements/Icon/IconSet/IconAudioExample.js b/docs/app/Examples/elements/Icon/IconSet/IconExampleAudio.js similarity index 97% rename from docs/app/Examples/elements/Icon/IconSet/IconAudioExample.js rename to docs/app/Examples/elements/Icon/IconSet/IconExampleAudio.js index 984ee6f737..be6a09ee32 100644 --- a/docs/app/Examples/elements/Icon/IconSet/IconAudioExample.js +++ b/docs/app/Examples/elements/Icon/IconSet/IconExampleAudio.js @@ -1,7 +1,7 @@ import React from 'react' import { Grid, Icon } from 'semantic-ui-react' -const IconAudioExample = () => ( +const IconExampleAudio = () => ( @@ -102,4 +102,4 @@ const IconAudioExample = () => ( ) -export default IconAudioExample +export default IconExampleAudio diff --git a/docs/app/Examples/elements/Icon/IconSet/IconBrandsExample.js b/docs/app/Examples/elements/Icon/IconSet/IconExampleBrands.js similarity index 99% rename from docs/app/Examples/elements/Icon/IconSet/IconBrandsExample.js rename to docs/app/Examples/elements/Icon/IconSet/IconExampleBrands.js index e32fceed52..995a99b796 100644 --- a/docs/app/Examples/elements/Icon/IconSet/IconBrandsExample.js +++ b/docs/app/Examples/elements/Icon/IconSet/IconExampleBrands.js @@ -1,7 +1,7 @@ import React from 'react' import { Grid, Icon } from 'semantic-ui-react' -const IconBrandsExample = () => ( +const IconExampleBrands = () => ( @@ -582,4 +582,4 @@ const IconBrandsExample = () => ( ) -export default IconBrandsExample +export default IconExampleBrands diff --git a/docs/app/Examples/elements/Icon/IconSet/IconComputerExample.js b/docs/app/Examples/elements/Icon/IconSet/IconExampleComputer.js similarity index 92% rename from docs/app/Examples/elements/Icon/IconSet/IconComputerExample.js rename to docs/app/Examples/elements/Icon/IconSet/IconExampleComputer.js index 56ac5c0866..b076bef7f9 100644 --- a/docs/app/Examples/elements/Icon/IconSet/IconComputerExample.js +++ b/docs/app/Examples/elements/Icon/IconSet/IconExampleComputer.js @@ -1,7 +1,7 @@ import React from 'react' import { Grid, Icon } from 'semantic-ui-react' -const IconComputerExample = () => ( +const IconExampleComputer = () => ( @@ -38,4 +38,4 @@ const IconComputerExample = () => ( ) -export default IconComputerExample +export default IconExampleComputer diff --git a/docs/app/Examples/elements/Icon/IconSet/IconComputerAndFileSystemExample.js b/docs/app/Examples/elements/Icon/IconSet/IconExampleComputerAndFileSystem.js similarity index 95% rename from docs/app/Examples/elements/Icon/IconSet/IconComputerAndFileSystemExample.js rename to docs/app/Examples/elements/Icon/IconSet/IconExampleComputerAndFileSystem.js index b90672dec5..803d019b48 100644 --- a/docs/app/Examples/elements/Icon/IconSet/IconComputerAndFileSystemExample.js +++ b/docs/app/Examples/elements/Icon/IconSet/IconExampleComputerAndFileSystem.js @@ -1,7 +1,7 @@ import React from 'react' import { Grid, Icon } from 'semantic-ui-react' -const IconComputerandFileSystemExample = () => ( +const IconExampleComputerAndFileSystem = () => ( @@ -90,4 +90,4 @@ const IconComputerandFileSystemExample = () => ( ) -export default IconComputerandFileSystemExample +export default IconExampleComputerAndFileSystem diff --git a/docs/app/Examples/elements/Icon/IconSet/IconCurrencyExample.js b/docs/app/Examples/elements/Icon/IconSet/IconExampleCurrency.js similarity index 93% rename from docs/app/Examples/elements/Icon/IconSet/IconCurrencyExample.js rename to docs/app/Examples/elements/Icon/IconSet/IconExampleCurrency.js index a717da8c6c..262f538c61 100644 --- a/docs/app/Examples/elements/Icon/IconSet/IconCurrencyExample.js +++ b/docs/app/Examples/elements/Icon/IconSet/IconExampleCurrency.js @@ -1,7 +1,7 @@ import React from 'react' import { Grid, Icon } from 'semantic-ui-react' -const IconCurrencyExample = () => ( +const IconExampleCurrency = () => ( @@ -46,4 +46,4 @@ const IconCurrencyExample = () => ( ) -export default IconCurrencyExample +export default IconExampleCurrency diff --git a/docs/app/Examples/elements/Icon/IconSet/IconGenderAndSexualityExample.js b/docs/app/Examples/elements/Icon/IconSet/IconExampleGenderAndSexuality.js similarity index 94% rename from docs/app/Examples/elements/Icon/IconSet/IconGenderAndSexualityExample.js rename to docs/app/Examples/elements/Icon/IconSet/IconExampleGenderAndSexuality.js index 6daf6a89ba..5db31b08e1 100644 --- a/docs/app/Examples/elements/Icon/IconSet/IconGenderAndSexualityExample.js +++ b/docs/app/Examples/elements/Icon/IconSet/IconExampleGenderAndSexuality.js @@ -1,7 +1,7 @@ import React from 'react' import { Grid, Icon } from 'semantic-ui-react' -const IconGenderandSexualityExample = () => ( +const IconExampleGenderAndSexuality = () => ( @@ -66,4 +66,4 @@ const IconGenderandSexualityExample = () => ( ) -export default IconGenderandSexualityExample +export default IconExampleGenderAndSexuality diff --git a/docs/app/Examples/elements/Icon/IconSet/IconItemSelectionExample.js b/docs/app/Examples/elements/Icon/IconSet/IconExampleItemSelection.js similarity index 96% rename from docs/app/Examples/elements/Icon/IconSet/IconItemSelectionExample.js rename to docs/app/Examples/elements/Icon/IconSet/IconExampleItemSelection.js index 5b4f926e6b..65174707ea 100644 --- a/docs/app/Examples/elements/Icon/IconSet/IconItemSelectionExample.js +++ b/docs/app/Examples/elements/Icon/IconSet/IconExampleItemSelection.js @@ -1,7 +1,7 @@ import React from 'react' import { Grid, Icon } from 'semantic-ui-react' -const IconItemSelectionExample = () => ( +const IconExampleItemSelection = () => ( @@ -90,4 +90,4 @@ const IconItemSelectionExample = () => ( ) -export default IconItemSelectionExample +export default IconExampleItemSelection diff --git a/docs/app/Examples/elements/Icon/IconSet/IconLayoutAdjustmentExample.js b/docs/app/Examples/elements/Icon/IconSet/IconExampleLayoutAdjustment.js similarity index 91% rename from docs/app/Examples/elements/Icon/IconSet/IconLayoutAdjustmentExample.js rename to docs/app/Examples/elements/Icon/IconSet/IconExampleLayoutAdjustment.js index 46b01105c1..4b21609bdf 100644 --- a/docs/app/Examples/elements/Icon/IconSet/IconLayoutAdjustmentExample.js +++ b/docs/app/Examples/elements/Icon/IconSet/IconExampleLayoutAdjustment.js @@ -1,7 +1,7 @@ import React from 'react' import { Grid, Icon } from 'semantic-ui-react' -const IconLayoutAdjustmentExample = () => ( +const IconExampleLayoutAdjustment = () => ( @@ -42,4 +42,4 @@ const IconLayoutAdjustmentExample = () => ( ) -export default IconLayoutAdjustmentExample +export default IconExampleLayoutAdjustment diff --git a/docs/app/Examples/elements/Icon/IconSet/IconMapExample.js b/docs/app/Examples/elements/Icon/IconSet/IconExampleMap.js similarity index 97% rename from docs/app/Examples/elements/Icon/IconSet/IconMapExample.js rename to docs/app/Examples/elements/Icon/IconSet/IconExampleMap.js index dcf9be4fe5..f91fc248f4 100644 --- a/docs/app/Examples/elements/Icon/IconSet/IconMapExample.js +++ b/docs/app/Examples/elements/Icon/IconSet/IconExampleMap.js @@ -1,7 +1,7 @@ import React from 'react' import { Grid, Icon } from 'semantic-ui-react' -const IconMapExample = () => ( +const IconExampleMap = () => ( @@ -134,4 +134,4 @@ const IconMapExample = () => ( ) -export default IconMapExample +export default IconExampleMap diff --git a/docs/app/Examples/elements/Icon/IconSet/IconMediaExample.js b/docs/app/Examples/elements/Icon/IconSet/IconExampleMedia.js similarity index 93% rename from docs/app/Examples/elements/Icon/IconSet/IconMediaExample.js rename to docs/app/Examples/elements/Icon/IconSet/IconExampleMedia.js index 26e0376dc2..ccc415cea2 100644 --- a/docs/app/Examples/elements/Icon/IconSet/IconMediaExample.js +++ b/docs/app/Examples/elements/Icon/IconSet/IconExampleMedia.js @@ -1,7 +1,7 @@ import React from 'react' import { Grid, Icon } from 'semantic-ui-react' -const IconMediaExample = () => ( +const IconExampleMedia = () => ( @@ -42,4 +42,4 @@ const IconMediaExample = () => ( ) -export default IconMediaExample +export default IconExampleMedia diff --git a/docs/app/Examples/elements/Icon/IconSet/IconMessageExample.js b/docs/app/Examples/elements/Icon/IconSet/IconExampleMessage.js similarity index 93% rename from docs/app/Examples/elements/Icon/IconSet/IconMessageExample.js rename to docs/app/Examples/elements/Icon/IconSet/IconExampleMessage.js index e812903cf0..a4f498ce06 100644 --- a/docs/app/Examples/elements/Icon/IconSet/IconMessageExample.js +++ b/docs/app/Examples/elements/Icon/IconSet/IconExampleMessage.js @@ -1,7 +1,7 @@ import React from 'react' import { Grid, Icon } from 'semantic-ui-react' -const IconMessageExample = () => ( +const IconExampleMessage = () => ( @@ -42,4 +42,4 @@ const IconMessageExample = () => ( ) -export default IconMessageExample +export default IconExampleMessage diff --git a/docs/app/Examples/elements/Icon/IconSet/IconMobileExample.js b/docs/app/Examples/elements/Icon/IconSet/IconExampleMobile.js similarity index 91% rename from docs/app/Examples/elements/Icon/IconSet/IconMobileExample.js rename to docs/app/Examples/elements/Icon/IconSet/IconExampleMobile.js index 30dee85053..3d7c509368 100644 --- a/docs/app/Examples/elements/Icon/IconSet/IconMobileExample.js +++ b/docs/app/Examples/elements/Icon/IconSet/IconExampleMobile.js @@ -1,7 +1,7 @@ import React from 'react' import { Grid, Icon } from 'semantic-ui-react' -const IconMobileExample = () => ( +const IconExampleMobile = () => ( @@ -30,4 +30,4 @@ const IconMobileExample = () => ( ) -export default IconMobileExample +export default IconExampleMobile diff --git a/docs/app/Examples/elements/Icon/IconSet/IconObjectsExample.js b/docs/app/Examples/elements/Icon/IconSet/IconExampleObjects.js similarity index 98% rename from docs/app/Examples/elements/Icon/IconSet/IconObjectsExample.js rename to docs/app/Examples/elements/Icon/IconSet/IconExampleObjects.js index 826bf29ac0..4bfa2db677 100644 --- a/docs/app/Examples/elements/Icon/IconSet/IconObjectsExample.js +++ b/docs/app/Examples/elements/Icon/IconSet/IconExampleObjects.js @@ -1,7 +1,7 @@ import React from 'react' import { Grid, Icon } from 'semantic-ui-react' -const IconObjectsExample = () => ( +const IconExampleObjects = () => ( @@ -182,4 +182,4 @@ const IconObjectsExample = () => ( ) -export default IconObjectsExample +export default IconExampleObjects diff --git a/docs/app/Examples/elements/Icon/IconSet/IconPaymentOptionsExample.js b/docs/app/Examples/elements/Icon/IconSet/IconExamplePaymentOptions.js similarity index 93% rename from docs/app/Examples/elements/Icon/IconSet/IconPaymentOptionsExample.js rename to docs/app/Examples/elements/Icon/IconSet/IconExamplePaymentOptions.js index 3db3a1c400..ab08d54b11 100644 --- a/docs/app/Examples/elements/Icon/IconSet/IconPaymentOptionsExample.js +++ b/docs/app/Examples/elements/Icon/IconSet/IconExamplePaymentOptions.js @@ -1,7 +1,7 @@ import React from 'react' import { Grid, Icon } from 'semantic-ui-react' -const IconPaymentOptionsExample = () => ( +const IconExamplePaymentOptions = () => ( @@ -50,4 +50,4 @@ const IconPaymentOptionsExample = () => ( ) -export default IconPaymentOptionsExample +export default IconExamplePaymentOptions diff --git a/docs/app/Examples/elements/Icon/IconSet/IconPointersExample.js b/docs/app/Examples/elements/Icon/IconSet/IconExamplePointers.js similarity index 98% rename from docs/app/Examples/elements/Icon/IconSet/IconPointersExample.js rename to docs/app/Examples/elements/Icon/IconSet/IconExamplePointers.js index 240dc9782c..092657b49b 100644 --- a/docs/app/Examples/elements/Icon/IconSet/IconPointersExample.js +++ b/docs/app/Examples/elements/Icon/IconSet/IconExamplePointers.js @@ -1,7 +1,7 @@ import React from 'react' import { Grid, Icon } from 'semantic-ui-react' -const IconPointersExample = () => ( +const IconExamplePointers = () => ( @@ -182,4 +182,4 @@ const IconPointersExample = () => ( ) -export default IconPointersExample +export default IconExamplePointers diff --git a/docs/app/Examples/elements/Icon/IconSet/IconRatingExample.js b/docs/app/Examples/elements/Icon/IconSet/IconExampleRating.js similarity index 95% rename from docs/app/Examples/elements/Icon/IconSet/IconRatingExample.js rename to docs/app/Examples/elements/Icon/IconSet/IconExampleRating.js index 1320878b9a..e8686e9e40 100644 --- a/docs/app/Examples/elements/Icon/IconSet/IconRatingExample.js +++ b/docs/app/Examples/elements/Icon/IconSet/IconExampleRating.js @@ -1,7 +1,7 @@ import React from 'react' import { Grid, Icon } from 'semantic-ui-react' -const IconRatingExample = () => ( +const IconExampleRating = () => ( @@ -58,4 +58,4 @@ const IconRatingExample = () => ( ) -export default IconRatingExample +export default IconExampleRating diff --git a/docs/app/Examples/elements/Icon/IconSet/IconShapesExample.js b/docs/app/Examples/elements/Icon/IconSet/IconExampleShapes.js similarity index 95% rename from docs/app/Examples/elements/Icon/IconSet/IconShapesExample.js rename to docs/app/Examples/elements/Icon/IconSet/IconExampleShapes.js index aebb7fdbfd..b83b4e3867 100644 --- a/docs/app/Examples/elements/Icon/IconSet/IconShapesExample.js +++ b/docs/app/Examples/elements/Icon/IconSet/IconExampleShapes.js @@ -1,7 +1,7 @@ import React from 'react' import { Grid, Icon } from 'semantic-ui-react' -const IconShapesExample = () => ( +const IconExampleShapes = () => ( @@ -66,4 +66,4 @@ const IconShapesExample = () => ( ) -export default IconShapesExample +export default IconExampleShapes diff --git a/docs/app/Examples/elements/Icon/IconSet/IconTablesExample.js b/docs/app/Examples/elements/Icon/IconSet/IconExampleTables.js similarity index 95% rename from docs/app/Examples/elements/Icon/IconSet/IconTablesExample.js rename to docs/app/Examples/elements/Icon/IconSet/IconExampleTables.js index 69be89fe90..a90859c94f 100644 --- a/docs/app/Examples/elements/Icon/IconSet/IconTablesExample.js +++ b/docs/app/Examples/elements/Icon/IconSet/IconExampleTables.js @@ -1,7 +1,7 @@ import React from 'react' import { Grid, Icon } from 'semantic-ui-react' -const IconTablesExample = () => ( +const IconExampleTables = () => ( @@ -50,4 +50,4 @@ const IconTablesExample = () => ( ) -export default IconTablesExample +export default IconExampleTables diff --git a/docs/app/Examples/elements/Icon/IconSet/IconTechnologiesExample.js b/docs/app/Examples/elements/Icon/IconSet/IconExampleTechnologies.js similarity index 94% rename from docs/app/Examples/elements/Icon/IconSet/IconTechnologiesExample.js rename to docs/app/Examples/elements/Icon/IconSet/IconExampleTechnologies.js index 2f27a87d3b..892cb19cc7 100644 --- a/docs/app/Examples/elements/Icon/IconSet/IconTechnologiesExample.js +++ b/docs/app/Examples/elements/Icon/IconSet/IconExampleTechnologies.js @@ -1,7 +1,7 @@ import React from 'react' import { Grid, Icon } from 'semantic-ui-react' -const IconTechnologiesExample = () => ( +const IconExampleTechnologies = () => ( @@ -58,4 +58,4 @@ const IconTechnologiesExample = () => ( ) -export default IconTechnologiesExample +export default IconExampleTechnologies diff --git a/docs/app/Examples/elements/Icon/IconSet/IconTextEditorExample.js b/docs/app/Examples/elements/Icon/IconSet/IconExampleTextEditor.js similarity index 97% rename from docs/app/Examples/elements/Icon/IconSet/IconTextEditorExample.js rename to docs/app/Examples/elements/Icon/IconSet/IconExampleTextEditor.js index 75d04e0c2d..c1101e9e6d 100644 --- a/docs/app/Examples/elements/Icon/IconSet/IconTextEditorExample.js +++ b/docs/app/Examples/elements/Icon/IconSet/IconExampleTextEditor.js @@ -1,7 +1,7 @@ import React from 'react' import { Grid, Icon } from 'semantic-ui-react' -const IconTextEditorExample = () => ( +const IconExampleTextEditor = () => ( @@ -122,4 +122,4 @@ const IconTextEditorExample = () => ( ) -export default IconTextEditorExample +export default IconExampleTextEditor diff --git a/docs/app/Examples/elements/Icon/IconSet/IconUserActionsExample.js b/docs/app/Examples/elements/Icon/IconSet/IconExampleUserActions.js similarity index 98% rename from docs/app/Examples/elements/Icon/IconSet/IconUserActionsExample.js rename to docs/app/Examples/elements/Icon/IconSet/IconExampleUserActions.js index af39441047..92517649b0 100644 --- a/docs/app/Examples/elements/Icon/IconSet/IconUserActionsExample.js +++ b/docs/app/Examples/elements/Icon/IconSet/IconExampleUserActions.js @@ -1,7 +1,7 @@ import React from 'react' import { Grid, Icon } from 'semantic-ui-react' -const IconUserActionsExample = () => ( +const IconExampleUserActions = () => ( @@ -238,4 +238,4 @@ const IconUserActionsExample = () => ( ) -export default IconUserActionsExample +export default IconExampleUserActions diff --git a/docs/app/Examples/elements/Icon/IconSet/IconUserTypesExample.js b/docs/app/Examples/elements/Icon/IconSet/IconExampleUserTypes.js similarity index 90% rename from docs/app/Examples/elements/Icon/IconSet/IconUserTypesExample.js rename to docs/app/Examples/elements/Icon/IconSet/IconExampleUserTypes.js index 49b868c2a0..e5de332566 100644 --- a/docs/app/Examples/elements/Icon/IconSet/IconUserTypesExample.js +++ b/docs/app/Examples/elements/Icon/IconSet/IconExampleUserTypes.js @@ -1,7 +1,7 @@ import React from 'react' import { Grid, Icon } from 'semantic-ui-react' -const IconUserTypesExample = () => ( +const IconExampleUserTypes = () => ( @@ -34,4 +34,4 @@ const IconUserTypesExample = () => ( ) -export default IconUserTypesExample +export default IconExampleUserTypes diff --git a/docs/app/Examples/elements/Icon/IconSet/IconWebContentExample.js b/docs/app/Examples/elements/Icon/IconSet/IconExampleWebContent.js similarity index 98% rename from docs/app/Examples/elements/Icon/IconSet/IconWebContentExample.js rename to docs/app/Examples/elements/Icon/IconSet/IconExampleWebContent.js index 51f7018600..44ee4bc01a 100644 --- a/docs/app/Examples/elements/Icon/IconSet/IconWebContentExample.js +++ b/docs/app/Examples/elements/Icon/IconSet/IconExampleWebContent.js @@ -1,7 +1,7 @@ import React from 'react' import { Grid, Icon } from 'semantic-ui-react' -const IconWebContentExample = () => ( +const IconExampleWebContent = () => ( @@ -286,4 +286,4 @@ const IconWebContentExample = () => ( ) -export default IconWebContentExample +export default IconExampleWebContent diff --git a/docs/app/Examples/elements/Icon/IconSet/index.js b/docs/app/Examples/elements/Icon/IconSet/index.js index 7fd0d0c7ca..93d1c8d360 100644 --- a/docs/app/Examples/elements/Icon/IconSet/index.js +++ b/docs/app/Examples/elements/Icon/IconSet/index.js @@ -6,123 +6,123 @@ const IconSetExamples = () => ( ) diff --git a/docs/app/Examples/elements/Icon/States/IconDisabledExample.js b/docs/app/Examples/elements/Icon/States/IconDisabledExample.js deleted file mode 100644 index 63a20ac5a9..0000000000 --- a/docs/app/Examples/elements/Icon/States/IconDisabledExample.js +++ /dev/null @@ -1,10 +0,0 @@ -import React, { Component } from 'react' -import { Icon } from 'semantic-ui-react' - -export default class IconDisabledExample extends Component { - render() { - return ( - - ) - } -} diff --git a/docs/app/Examples/elements/Icon/States/IconExampleDisabled.js b/docs/app/Examples/elements/Icon/States/IconExampleDisabled.js new file mode 100644 index 0000000000..9477871b32 --- /dev/null +++ b/docs/app/Examples/elements/Icon/States/IconExampleDisabled.js @@ -0,0 +1,8 @@ +import React from 'react' +import { Icon } from 'semantic-ui-react' + +const IconExampleDisabled = () => ( + +) + +export default IconExampleDisabled diff --git a/docs/app/Examples/elements/Icon/States/IconExampleLoading.js b/docs/app/Examples/elements/Icon/States/IconExampleLoading.js new file mode 100644 index 0000000000..8a6e796661 --- /dev/null +++ b/docs/app/Examples/elements/Icon/States/IconExampleLoading.js @@ -0,0 +1,12 @@ +import React from 'react' +import { Icon } from 'semantic-ui-react' + +const IconExampleLoading = () => ( +
+ + + +
+) + +export default IconExampleLoading diff --git a/docs/app/Examples/elements/Icon/States/IconLoadingExample.js b/docs/app/Examples/elements/Icon/States/IconLoadingExample.js deleted file mode 100644 index 53156f4585..0000000000 --- a/docs/app/Examples/elements/Icon/States/IconLoadingExample.js +++ /dev/null @@ -1,14 +0,0 @@ -import React, { Component } from 'react' -import { Icon } from 'semantic-ui-react' - -export default class IconLoadingExample extends Component { - render() { - return ( -
- - - -
- ) - } -} diff --git a/docs/app/Examples/elements/Icon/States/index.js b/docs/app/Examples/elements/Icon/States/index.js index 14bfd86c91..3b49356151 100644 --- a/docs/app/Examples/elements/Icon/States/index.js +++ b/docs/app/Examples/elements/Icon/States/index.js @@ -1,22 +1,20 @@ -import React, { Component } from 'react' +import React from 'react' import ComponentExample from 'docs/app/Components/ComponentDoc/ComponentExample' import ExampleSection from 'docs/app/Components/ComponentDoc/ExampleSection' -export default class IconStatesExamples extends Component { - render() { - return ( - - - - - ) - } -} +const IconStatesExamples = () => ( + + + + +) + +export default IconStatesExamples diff --git a/docs/app/Examples/elements/Icon/Variations/IconBorderedExample.js b/docs/app/Examples/elements/Icon/Variations/IconBorderedExample.js deleted file mode 100644 index b737eea242..0000000000 --- a/docs/app/Examples/elements/Icon/Variations/IconBorderedExample.js +++ /dev/null @@ -1,15 +0,0 @@ -import React, { Component } from 'react' -import { Icon } from 'semantic-ui-react' - -export default class IconBorderedExample extends Component { - render() { - return ( -
- - - - -
- ) - } -} diff --git a/docs/app/Examples/elements/Icon/Variations/IconCircularExample.js b/docs/app/Examples/elements/Icon/Variations/IconCircularExample.js deleted file mode 100644 index 242ed1fe58..0000000000 --- a/docs/app/Examples/elements/Icon/Variations/IconCircularExample.js +++ /dev/null @@ -1,15 +0,0 @@ -import React, { Component } from 'react' -import { Icon } from 'semantic-ui-react' - -export default class IconCircularExample extends Component { - render() { - return ( -
- - - - -
- ) - } -} diff --git a/docs/app/Examples/elements/Icon/Variations/IconColoredExample.js b/docs/app/Examples/elements/Icon/Variations/IconColoredExample.js deleted file mode 100644 index 1f4c336685..0000000000 --- a/docs/app/Examples/elements/Icon/Variations/IconColoredExample.js +++ /dev/null @@ -1,24 +0,0 @@ -import React, { Component } from 'react' -import { Icon } from 'semantic-ui-react' - -export default class IconColoredExample extends Component { - render() { - return ( -
- - - - - - - - - - - - - -
- ) - } -} diff --git a/docs/app/Examples/elements/Icon/Variations/IconExampleBordered.js b/docs/app/Examples/elements/Icon/Variations/IconExampleBordered.js new file mode 100644 index 0000000000..ae7fbc4156 --- /dev/null +++ b/docs/app/Examples/elements/Icon/Variations/IconExampleBordered.js @@ -0,0 +1,13 @@ +import React from 'react' +import { Icon } from 'semantic-ui-react' + +const IconExampleBordered = () => ( +
+ + + + +
+) + +export default IconExampleBordered diff --git a/docs/app/Examples/elements/Icon/Variations/IconExampleCircular.js b/docs/app/Examples/elements/Icon/Variations/IconExampleCircular.js new file mode 100644 index 0000000000..67d52d52a8 --- /dev/null +++ b/docs/app/Examples/elements/Icon/Variations/IconExampleCircular.js @@ -0,0 +1,13 @@ +import React from 'react' +import { Icon } from 'semantic-ui-react' + +const IconExampleCircular = () => ( +
+ + + + +
+) + +export default IconExampleCircular diff --git a/docs/app/Examples/elements/Icon/Variations/IconExampleColored.js b/docs/app/Examples/elements/Icon/Variations/IconExampleColored.js new file mode 100644 index 0000000000..31d28f0a16 --- /dev/null +++ b/docs/app/Examples/elements/Icon/Variations/IconExampleColored.js @@ -0,0 +1,22 @@ +import React from 'react' +import { Icon } from 'semantic-ui-react' + +const IconExampleColored = () => ( +
+ + + + + + + + + + + + + +
+) + +export default IconExampleColored diff --git a/docs/app/Examples/elements/Icon/Variations/IconExampleFitted.js b/docs/app/Examples/elements/Icon/Variations/IconExampleFitted.js new file mode 100644 index 0000000000..243850155a --- /dev/null +++ b/docs/app/Examples/elements/Icon/Variations/IconExampleFitted.js @@ -0,0 +1,12 @@ +import React from 'react' +import { Icon } from 'semantic-ui-react' + +const IconExampleFitted = () => ( +
+

Tight spacing

+ +

Tight spacing

+
+) + +export default IconExampleFitted diff --git a/docs/app/Examples/elements/Icon/Variations/IconExampleFlipped.js b/docs/app/Examples/elements/Icon/Variations/IconExampleFlipped.js new file mode 100644 index 0000000000..615e09d0fe --- /dev/null +++ b/docs/app/Examples/elements/Icon/Variations/IconExampleFlipped.js @@ -0,0 +1,11 @@ +import React from 'react' +import { Icon } from 'semantic-ui-react' + +const IconExampleFlipped = () => ( +
+ + +
+) + +export default IconExampleFlipped diff --git a/docs/app/Examples/elements/Icon/Variations/IconExampleInvertedColored.js b/docs/app/Examples/elements/Icon/Variations/IconExampleInvertedColored.js new file mode 100644 index 0000000000..8ccdbe0a1a --- /dev/null +++ b/docs/app/Examples/elements/Icon/Variations/IconExampleInvertedColored.js @@ -0,0 +1,22 @@ +import React from 'react' +import { Segment, Icon } from 'semantic-ui-react' + +const IconExampleInvertedColored = () => ( + + + + + + + + + + + + + + + +) + +export default IconExampleInvertedColored diff --git a/docs/app/Examples/elements/Icon/Variations/IconExampleLink.js b/docs/app/Examples/elements/Icon/Variations/IconExampleLink.js new file mode 100644 index 0000000000..29377b4ac7 --- /dev/null +++ b/docs/app/Examples/elements/Icon/Variations/IconExampleLink.js @@ -0,0 +1,11 @@ +import React from 'react' +import { Icon } from 'semantic-ui-react' + +const IconExampleLink = () => ( +
+ + +
+) + +export default IconExampleLink diff --git a/docs/app/Examples/elements/Icon/Variations/IconExampleRotated.js b/docs/app/Examples/elements/Icon/Variations/IconExampleRotated.js new file mode 100644 index 0000000000..75c2680ec1 --- /dev/null +++ b/docs/app/Examples/elements/Icon/Variations/IconExampleRotated.js @@ -0,0 +1,11 @@ +import React from 'react' +import { Icon } from 'semantic-ui-react' + +const IconExampleRotated = () => ( +
+ + +
+) + +export default IconExampleRotated diff --git a/docs/app/Examples/elements/Icon/Variations/IconExampleSize.js b/docs/app/Examples/elements/Icon/Variations/IconExampleSize.js new file mode 100644 index 0000000000..04e1d83289 --- /dev/null +++ b/docs/app/Examples/elements/Icon/Variations/IconExampleSize.js @@ -0,0 +1,23 @@ +import React from 'react' +import { Icon } from 'semantic-ui-react' + +const IconExampleSize = () => ( +
+ + + + +
+ +
+ +
+ +
+ +
+ +
+) + +export default IconExampleSize diff --git a/docs/app/Examples/elements/Icon/Variations/IconFittedExample.js b/docs/app/Examples/elements/Icon/Variations/IconFittedExample.js deleted file mode 100644 index acc0aae7b7..0000000000 --- a/docs/app/Examples/elements/Icon/Variations/IconFittedExample.js +++ /dev/null @@ -1,14 +0,0 @@ -import React, { Component } from 'react' -import { Icon } from 'semantic-ui-react' - -export default class IconFittedExample extends Component { - render() { - return ( -
-

Tight spacing

- -

Tight spacing

-
- ) - } -} diff --git a/docs/app/Examples/elements/Icon/Variations/IconFlippedExample.js b/docs/app/Examples/elements/Icon/Variations/IconFlippedExample.js deleted file mode 100644 index bc80deac09..0000000000 --- a/docs/app/Examples/elements/Icon/Variations/IconFlippedExample.js +++ /dev/null @@ -1,13 +0,0 @@ -import React, { Component } from 'react' -import { Icon } from 'semantic-ui-react' - -export default class IconFlippedExample extends Component { - render() { - return ( -
- - -
- ) - } -} diff --git a/docs/app/Examples/elements/Icon/Variations/IconInvertedColoredExample.js b/docs/app/Examples/elements/Icon/Variations/IconInvertedColoredExample.js deleted file mode 100644 index 25b0ae1d41..0000000000 --- a/docs/app/Examples/elements/Icon/Variations/IconInvertedColoredExample.js +++ /dev/null @@ -1,24 +0,0 @@ -import React, { Component } from 'react' -import { Segment, Icon } from 'semantic-ui-react' - -export default class IconInvertedColoredExample extends Component { - render() { - return ( - - - - - - - - - - - - - - - - ) - } -} diff --git a/docs/app/Examples/elements/Icon/Variations/IconLinkExample.js b/docs/app/Examples/elements/Icon/Variations/IconLinkExample.js deleted file mode 100644 index f3d9b0ccef..0000000000 --- a/docs/app/Examples/elements/Icon/Variations/IconLinkExample.js +++ /dev/null @@ -1,13 +0,0 @@ -import React, { Component } from 'react' -import { Icon } from 'semantic-ui-react' - -export default class IconLinkExample extends Component { - render() { - return ( -
- - -
- ) - } -} diff --git a/docs/app/Examples/elements/Icon/Variations/IconRotatedExample.js b/docs/app/Examples/elements/Icon/Variations/IconRotatedExample.js deleted file mode 100644 index 1a3faf71c0..0000000000 --- a/docs/app/Examples/elements/Icon/Variations/IconRotatedExample.js +++ /dev/null @@ -1,13 +0,0 @@ -import React, { Component } from 'react' -import { Icon } from 'semantic-ui-react' - -export default class IconRotatedExample extends Component { - render() { - return ( -
- - -
- ) - } -} diff --git a/docs/app/Examples/elements/Icon/Variations/IconSizeExample.js b/docs/app/Examples/elements/Icon/Variations/IconSizeExample.js deleted file mode 100644 index 91b7171993..0000000000 --- a/docs/app/Examples/elements/Icon/Variations/IconSizeExample.js +++ /dev/null @@ -1,25 +0,0 @@ -import React, { Component } from 'react' -import { Icon } from 'semantic-ui-react' - -export default class IconSizeExample extends Component { - render() { - return ( -
- - - - -
- -
- -
- -
- -
- -
- ) - } -} diff --git a/docs/app/Examples/elements/Icon/Variations/index.js b/docs/app/Examples/elements/Icon/Variations/index.js index 72b6a77ddb..3cd4cd3a27 100644 --- a/docs/app/Examples/elements/Icon/Variations/index.js +++ b/docs/app/Examples/elements/Icon/Variations/index.js @@ -1,57 +1,55 @@ -import React, { Component } from 'react' +import React from 'react' import ComponentExample from 'docs/app/Components/ComponentDoc/ComponentExample' import ExampleSection from 'docs/app/Components/ComponentDoc/ExampleSection' -export default class IconVariationsExamples extends Component { - render() { - return ( - - - - - - - - - - - - ) - } -} +const IconVariationsExamples = () => ( + + + + + + + + + + + +) + +export default IconVariationsExamples diff --git a/docs/app/Examples/elements/Icon/index.js b/docs/app/Examples/elements/Icon/index.js index 0af311daad..7f3026aaea 100644 --- a/docs/app/Examples/elements/Icon/index.js +++ b/docs/app/Examples/elements/Icon/index.js @@ -1,18 +1,16 @@ -import React, { Component } from 'react' +import React from 'react' import IconSet from './IconSet' import States from './States' import Variations from './Variations' import Groups from './Groups' -export default class IconExamples extends Component { - render() { - return ( -
- - - - -
- ) - } -} +const IconExamples = () => ( +
+ + + + +
+) + +export default IconExamples