-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ccff6eb
commit 0c93fee
Showing
14 changed files
with
195 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import React, { Component } from 'react' | ||
import ImageTypesExamples from './Types/ImageTypesExamples' | ||
|
||
export default class ImageExamples extends Component { | ||
render() { | ||
return ( | ||
<div> | ||
<ImageTypesExamples /> | ||
</div> | ||
) | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
docs/app/Examples/elements/Image/Types/ImageAlignedExample.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import React, { Component } from 'react' | ||
import { Image } from 'stardust' | ||
|
||
export default class ImageAlignedExample extends Component { | ||
render() { | ||
return ( | ||
<div> | ||
<Image shape='rounded' /> | ||
<Image shape='circular' /> | ||
</div> | ||
) | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
docs/app/Examples/elements/Image/Types/ImageAvatarExample.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import React, { Component } from 'react' | ||
import { Image } from 'stardust' | ||
|
||
export default class ImageAvatarExample extends Component { | ||
render() { | ||
return ( | ||
<Image avatar /> | ||
) | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
docs/app/Examples/elements/Image/Types/ImageBorderedExample.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import React, { Component } from 'react' | ||
import { Image } from 'stardust' | ||
|
||
export default class ImageBorderedExample extends Component { | ||
render() { | ||
return ( | ||
<Image bordered /> | ||
) | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
docs/app/Examples/elements/Image/Types/ImageCenteredExample.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import React, { Component } from 'react' | ||
import { Image } from 'stardust' | ||
|
||
export default class ImageCenteredExample extends Component { | ||
render() { | ||
return ( | ||
<Image centered /> | ||
) | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
docs/app/Examples/elements/Image/Types/ImageDisabledExample.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import React, { Component } from 'react' | ||
import { Image } from 'stardust' | ||
|
||
export default class ImageDisabledExample extends Component { | ||
render() { | ||
return ( | ||
<Image disabled /> | ||
) | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
docs/app/Examples/elements/Image/Types/ImageFloatedExample.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import React, { Component } from 'react' | ||
import { Image } from 'stardust' | ||
|
||
export default class ImageSpacedExample extends Component { | ||
render() { | ||
return ( | ||
<Image floated='left' /> | ||
) | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
docs/app/Examples/elements/Image/Types/ImageFluidExample.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import React, { Component } from 'react' | ||
import { Image } from 'stardust' | ||
|
||
export default class ImageFluidExample extends Component { | ||
render() { | ||
return ( | ||
<Image fluid /> | ||
) | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
docs/app/Examples/elements/Image/Types/ImageHiddenExample.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import React, { Component } from 'react' | ||
import { Image } from 'stardust' | ||
|
||
export default class ImageHiddenExample extends Component { | ||
render() { | ||
return ( | ||
<Image hidden /> | ||
) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
import React, { Component } from 'react' | ||
import { Image } from 'stardust' | ||
import image from '../image-text.png' | ||
|
||
export default class ImageLinkExample extends Component { | ||
render() { | ||
return ( | ||
<Image src={image} href='http://google.com' size='medium' /> | ||
<Image link /> | ||
) | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
docs/app/Examples/elements/Image/Types/ImageShapesExample.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import React, { Component } from 'react' | ||
import { Image } from 'stardust' | ||
|
||
export default class ImageShapesExample extends Component { | ||
render() { | ||
return ( | ||
<div> | ||
<Image shape='rounded' /> | ||
<Image shape='circular' /> | ||
</div> | ||
) | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
docs/app/Examples/elements/Image/Types/ImageSizeExample.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import React, { Component } from 'react' | ||
import { Image } from 'stardust' | ||
|
||
export default class ImageSizeExample extends Component { | ||
render() { | ||
return ( | ||
<div> | ||
<Image size='mini' /> | ||
<Image size='tiny' /> | ||
<Image size='small' /> | ||
<Image size='medium' /> | ||
<Image size='large' /> | ||
<Image size='big' /> | ||
<Image size='huge' /> | ||
<Image size='massive' /> | ||
</div> | ||
) | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
docs/app/Examples/elements/Image/Types/ImageSpacedExample.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import React, { Component } from 'react' | ||
import { Image } from 'stardust' | ||
|
||
export default class ImageSpacedExample extends Component { | ||
render() { | ||
return ( | ||
<Image spaced /> | ||
) | ||
} | ||
} |
71 changes: 57 additions & 14 deletions
71
docs/app/Examples/elements/Image/Types/ImageTypesExamples.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters