Skip to content

Commit fb1d0c9

Browse files
committed
styleguide options
1 parent 363ae5f commit fb1d0c9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

styleguide.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,18 @@ module.exports = {
77
skipComponentsWithoutExample: true,
88
usageMode: "expand", // Keep prop tables always expanded
99
exampleMode: "expand", // Keep code examples always expanded
10+
showSidebar: false, // Hide the sidebar
1011
propsParser: require("react-docgen-typescript").parse,
1112
getComponentPathLine(componentPath) {
1213
const name = path.basename(componentPath, path.extname(componentPath));
1314
return `import { ${name} } from "react-gradient-hover";`;
1415
},
16+
ribbon: {
17+
// Link to open on the ribbon click (required)
18+
url: "https://github.com/areknow/react-gradient-hover",
19+
// Text to show on the ribbon (optional)
20+
text: "Fork me on GitHub",
21+
},
1522
webpackConfig: {
1623
module: {
1724
rules: [

0 commit comments

Comments
 (0)