Sha256: 8432f583279670abd9186439c541c29f2b03770a3bb04f23ec92b23409946580
Contents?: true
Size: 599 Bytes
Versions: 6
Compression:
Stored size: 599 Bytes
Contents
/* @flow */ import React from 'react' type Props = { branch: string, children: Array<React.Component>, prNumber: number, } export default class Wip extends React.Component<Props> { props: Props render() { const { branch, children, prNumber, } = this.props return ( <div> <div className="alert alert-warning"> {`W.I.P. see `} <a href={`https://github.com/powerhome/nitro-storybook/pull/${prNumber}`} > {branch} </a> </div> {children} </div> ) } }
Version data entries
6 entries across 6 versions & 2 rubygems