Skip to content

Commit

Permalink
Merge pull request #43 from primer/release-0.2.0-beta
Browse files Browse the repository at this point in the history
Release 0.0.2-beta
  • Loading branch information
jonrohan authored Jun 1, 2018
2 parents 1847ef7 + 7d980df commit 200ce11
Show file tree
Hide file tree
Showing 21 changed files with 535 additions and 156 deletions.
34 changes: 17 additions & 17 deletions docs/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/index.html

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions examples/GitHubAvatar.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import React from 'react'
import {Avatar} from '../src'

export default function GitHubAvatar({username, size = 20, ...rest}) {
return (
<Avatar
src={`https://avatars.githubusercontent.com/${username}?v=3&s=${size * 2}`}
size={size}
{...rest}
/>
)
}
16 changes: 16 additions & 0 deletions examples/Swatch.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import React from 'react'
import {Heading, Text} from '../src/'

export default function Swatch({name, index, color, ...rest}) {
return (
<div {...rest}>
<div className='m-1 mt-3 p-6' style={{background: color}} />
<Heading tag='h3' fontSize={2} px={1}>
{name}.{index}
</Heading>
<Text px={1}>
{color}
</Text>
</div>
)
}
Loading

0 comments on commit 200ce11

Please sign in to comment.