-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Item): add unstackable prop to ItemGroup (#1706)
* feat(Item): add unstackable prop to ItemGroup * docs(Item): add example for unstackable
- Loading branch information
1 parent
6bf47ab
commit 4044f55
Showing
5 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
docs/app/Examples/views/Item/Variations/ItemExampleUnstackable.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,18 @@ | ||
import React from 'react' | ||
import { Item } from 'semantic-ui-react' | ||
|
||
const ItemExampleImages = () => ( | ||
<Item.Group divided unstackable> | ||
<Item> | ||
<Item.Image src='/assets/images/wireframe/image.png' /> | ||
</Item> | ||
|
||
<Item> | ||
<Item.Image src='/assets/images/wireframe/image.png' /> | ||
</Item> | ||
|
||
<Item image='/assets/images/wireframe/image.png' /> | ||
</Item.Group> | ||
) | ||
|
||
export default ItemExampleImages |
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
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
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
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