1.0.5 • Published 4 years ago
little-universe v1.0.5
React component example:
<Button size="large">Push Me</Button>
You can add a custom props to an example wrapper:
<Button>I’m transparent!</Button>
Or add padding between examples in a block by passing the padded
modifier:
<Button>Push Me</Button>
<Button>Click Me</Button>
<Button>Tap Me</Button>
Or disable an editor by passing a noeditor
modifier:
<Button>Push Me</Button>
To render an example as highlighted source code add a static
modifier:
import React from "react";
Examples with all other languages are rendered only as highlighted source code, not an actual component:
<button size="large">Push Me</button>
Any Markdown is allowed here.