using <spec path>/index.jsx doesn't work
mik01aj opened this issue · comments
Mikołaj D. commented
It's a bug in this line:
CC @operatino
Robert Haritonov commented
Thanks for the report, I'll check it out. Was doing thus plugin in a rush for a demo.
Mikołaj D. commented
Even after moving the file, the plugin still doesn't work:
This is the docgen
output for my component:
{
"description": "",
"displayName": "Avatar",
"props": {
"user": {
"type": {
"name": "shape",
"value": {
"name": {
"name": "string",
"required": true
}
}
},
"required": false,
"description": ""
},
"size": {
"type": {
"name": "number"
},
"required": false,
"description": ""
},
"withTooltip": {
"type": {
"name": "bool"
},
"required": false,
"description": ""
},
"style": {
"type": {
"name": "object"
},
"required": false,
"description": ""
}
}
}
Robert Haritonov commented
Fixed in 0.2.0