Skip to content

Commit

Permalink
Icon and emoji on same doc
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusps committed Jun 17, 2019
1 parent 04516ca commit 72d7b80
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 30 deletions.
30 changes: 0 additions & 30 deletions src/docs/Emoji.mdx

This file was deleted.

59 changes: 59 additions & 0 deletions src/docs/Iconography.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
---
## name: Iconography
---

import { Playground, Props } from 'docz'

import { Emoji } from '../components/Emoji.tsx'
import { Icon } from '../components/Icon.tsx'

# Icon

<Props of={Icon} />

## Size

<Playground>
<Icon size="sm" type="solid" name="birthday-cake" />
{' '}
<Icon size="md" name="birthday-cake" />
{' '}
<Icon size="lg" name="birthday-cake" />
{' '}
<Icon size="xl" name="birthday-cake" />
</Playground>

## Types

<Playground>
<Icon size="xl" name="eye" type="solid" />
{' '}
<Icon size="xl" name="eye" type="regular" />
{' '}
<Icon size="xl" name="apple" type="brand" />
</Playground>

# Emoji

<Props of={Emoji} />

## Basic usage

<Playground>
<Emoji symbol="🚀" />
<Emoji symbol=":smile:" />
<Emoji symbol="🇧🇷" />
<Emoji symbol="🕞" />
<Emoji symbol="👻" />
<Emoji symbol="👌🏾" />
<Emoji symbol=":brain:" />
</Playground>

## Size

<Playground>
<Emoji size="sm" symbol="👨🏾‍💻" />
<Emoji size="md" symbol="👨🏾‍💻" />
<Emoji size="lg" symbol="👨🏾‍💻" />
<Emoji size="xl" symbol="👨🏾‍💻" />
</Playground>

0 comments on commit 72d7b80

Please sign in to comment.