<% if(props.length > 0) { %>import { text, number, boolean } from '@storybook/addon-knobs';<% } %>
import { <%=componentName%> } from './<%=componentFileName%>';

export default {
  title: '<%=componentName%>'
}

export const primary = () => ({
  moduleMetadata: {
    imports: []
  },
  component: <%=componentName%>,
  props: {<% for (let prop of props) { %>
    <%=prop.name%>: <%=prop.type%>('<%=prop.name%>', <%=prop.defaultValue%>),<% } %>
  }
})
