Skip to content

Commit

Permalink
Merge pull request #65 from uselessdev/update-pathline-value
Browse files Browse the repository at this point in the history
change pathline from path file to import
  • Loading branch information
miukimiu committed Jan 18, 2019
2 parents 5eaa542 + 88d1d87 commit cfe6964
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions styleguide.config.js
Expand Up @@ -23,6 +23,10 @@ module.exports = {
}
],
skipComponentsWithoutExample: true,
getComponentPathLine: pathname => {
const { name } = path.parse(pathname)
return `import { ${name} } from 'react-kawaii'`
},
template: {
head: {
meta: [
Expand Down

0 comments on commit cfe6964

Please sign in to comment.