File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -7,11 +7,18 @@ module.exports = {
7
7
skipComponentsWithoutExample : true ,
8
8
usageMode : "expand" , // Keep prop tables always expanded
9
9
exampleMode : "expand" , // Keep code examples always expanded
10
+ showSidebar : false , // Hide the sidebar
10
11
propsParser : require ( "react-docgen-typescript" ) . parse ,
11
12
getComponentPathLine ( componentPath ) {
12
13
const name = path . basename ( componentPath , path . extname ( componentPath ) ) ;
13
14
return `import { ${ name } } from "react-gradient-hover";` ;
14
15
} ,
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
+ } ,
15
22
webpackConfig : {
16
23
module : {
17
24
rules : [
You can’t perform that action at this time.
0 commit comments