Repository URL to install this package:
|
Version:
0.14.1 ▾
|
import React from 'react'
import { storiesOf } from '@storybook/react'
import { styled } from 'styleh-components'
import Blink from 'atoms/Blink'
function renderChildren() {
return <h2>Rendering Heading</h2>
}
storiesOf('atoms/Blink', module).add('default', () => (
<Blink content="Text here" />
))
.add('with children', () => (
<Blink renderChildren={renderChildren}/>
))