Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
ui-component-library / stories / atoms / Blink.story.tsx
Size: Mime:
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}/>
))