Skip to content

Commit

Permalink
docs(box): update inline example
Browse files Browse the repository at this point in the history
move Grid components under the Layout section
  • Loading branch information
lzcabrera committed Nov 8, 2017
1 parent 16cf678 commit 1960428
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 14 deletions.
23 changes: 13 additions & 10 deletions config/styleguide.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,17 +132,20 @@ module.exports = {
toggleByEnv('Box', path.resolve('src/components/Box/Box.jsx'), undefined),
])
},
sections: compact([
{
name: 'Grid',
components() {
return [
path.resolve('src/old-components/Grid/Container/Container.jsx'),
path.resolve('src/old-components/Grid/Row/Row.jsx'),
path.resolve('src/old-components/Grid/Column/Column.jsx'),
]
},
},
]),
},
{
name: 'Grid',
components() {
return [
path.resolve('src/old-components/Grid/Container/Container.jsx'),
path.resolve('src/old-components/Grid/Row/Row.jsx'),
path.resolve('src/old-components/Grid/Column/Column.jsx'),
]
},
},

{
name: 'Content',
components() {
Expand Down
11 changes: 7 additions & 4 deletions src/components/Box/Box.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,12 @@ When wrapping a Box element around a series of elements, use the `between` prop

```jsx
<Box inline between={3}>
<Link href="//telus.com">Home</Link>
<Link href="//telus.com">Shop</Link>
<Link href="//telus.com">My Account</Link>
<Link href="//telus.com">Support</Link>
<Link href="//telus.com">Phones</Link>
<Box inline>|</Box>
<Link href="//telus.com">Pre-Owned</Link>
<Box inline>|</Box>
<Link href="//telus.com">Prepaid</Link>
<Box inline>|</Box>
<Link href="//telus.com">Sale</Link>
</Box>
```

0 comments on commit 1960428

Please sign in to comment.