author BounceCode, Inc.
 *  packageDocumentation import * as React from 'react' ; import { ButtonView } from './ButtonView' ; import { withKnobs , text } from '@storybook/addon-knobs' ; export default { title : 'Commons' , component : ButtonView , decorators : [ withKnobs ] , } ; export const Button = ( ) => { const children = text ( 'children' , 'Hello, world!' ) ; return < ButtonView href = "/" > { children } < /ButtonView>; } ;