Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 786 Bytes

File metadata and controls

38 lines (26 loc) · 786 Bytes

Basic button:

<Button>Push Me</Button>
Parent
child

Big pink button:

<Button size="large" color="deeppink">Lick Me</Button>

And you can use any Markdown here.

Fenced code blocks with js, jsx or javascript languages are rendered as a interactive playgrounds:

<Button>Push Me</Button>

You can disable an editor by passing a noeditor modifier ( ```js noeditor):

<Button>Push Me</Button>

To render an example as highlighted source code add a static modifier: ( ```js static):

import React from 'react';

Fenced blocks with other languages are rendered as highlighted code:

<h1>Hello world</h1>