[Docs] Hide internal props from documentation
@mbrookes suggested to make a list of components that have public child component so that I can hide props by adding @ignore tag to them and close this issue properly.
Here's the list:
- Card
- [x] CardActions (N/A)
- [x] CardHeader (N/A)
- [x] CardMedia (N/A)
- [x] CardText (N/A)
- [x] CardTitle (N/A)
- GridList
- [x] GridTile (N/A)
- List
- [x] ListItem (N/A)
- RadioButton
- [x] RadioButton (#3247)
- Table
- [x] TableRow (#3589)
- [x] TableRowColumn (#3589)
- [x] TableHeader (#3589)
- [x] TableHeaderColumn (#3589)
- [x] TableBody (#3589)
- [x] TableFooter (N/A)
- Tabs
- [x] Tab (#3589)
- [x] TextField (#3247)
- Menu
- [x] SubMenu (N/A)
- [x] MenuItem (#3589)
- Toolbar
- [x] ToolbarGroup (N/A)
- [x] ToolbarSeparator (N/A)
- [x] ToolbarTitle (N/A)
Feel free to add more if I forgot something :sweat_smile:
Reference #3191
Just looking at TextField again - those aren't publicly documented subcomponents, so @ignore has no purpose, but no harm done.
I've updated the list to cover all the components with public sub-components. I've reviewed Table, and added some props I think should be hidded (given the current implementation). Please check the carefully before @ignoreing! :sweat_smile:
I've have double-checked RadioButton & Tabs - they look fine.
I will let you inspect the rest. :+1:
Thanks @mbrookes for updating the list :+1:
Card docs say:
actAsExpander bool false Whether a click on this card component expands the card. Can be set on any child of the Card component.
Please reinstate it anywhere it's @ignored
Same for expandable and showExpandableButton.
.