PropShop

PropShop provides an holistic view of all defined PropTypes in your project.
https://github.com/PaulieScanlon/gatsby-plugin-prop-shop

filenametyperequireddefaultValuedescription
DefaultValue
DefaultValuedefaultValue
any 
false - The default value of the prop from react-docgen
Donut
Donutpercent
number 
true - The percent to drive the donut chart
DonutdonutSize
number 
false42The size of the donut
Filters
FiltersnoPropsFilter
bool 
false - Parent noPropsFilter state value
FilterssetNoPropsFilter
func 
false - Sets parent noPropsFilter state value
Header
-----
Icon
IconiconPath
string 
true - Material Icon svg path
IconiconSize
number 
false22The default px value for the width and height
IconiconFill
string 
false'currentColor'The default fill css value
Intro
-----
Logo
LogologoSize
number 
false64The size of the logo
Main
-----
PropTable
PropTablesearchTerm
string 
true - Parent searchTerm state value
PropTableisTableExpanded
bool 
true - Parent isTableExpanded state value
PropTablepropData
arrayOf {
  "name": "object"
}
true - The result of GraphQL allComponentMetaData query + applied filter
PropTablefilterOptions
arrayOf {
  "name": "string"
}
true - Array of filter-able values taken from GraphQL query
PropType
PropTypetype
any 
false - The type value of the prop from react-docgen
Required
Requiredrequired
bool 
false - The required value of the prop from react-docgen
Search
SearchsearchTerm
string 
true - Parent searchTerm state value
SearchsetSearchTerm
func 
true - Sets parent searchTerm state value
SearchclearSearchTerm
func 
true - Clear parent searchTerm state value
SearchsearchFilter
string 
true - Parent searchFilter state value
SearchsetSearchFilter
func 
true - Sets parent searchFilter state value
SearchfilterOptions
arrayOf {
  "name": "string"
}
true - Array of filter-able values taken from GraphQL query
ShowMore
ShowMoreisTableExpanded
bool 
false - Parent isTableExpanded state value
ShowMoresetIsTableExpanded
func 
false - Sets parent setIsTableExpanded state value
StatPanel
StatPaneltext
string 
true - The text to display
StatPanelvalue
number 
true - The number to display
StatPaneltotal
number 
true - The total to display
StatPanelpercent
number 
true - The percent to drive the donut chart
TableContainer
TableContainerchildren
any 
false - React children
TableContainerrest
object 
false - Rest object
TableWrapper
TableWrapperchildren
any 
false - React children
Table
Tablechildren
any 
false - React children
Thead
Theadchildren
any 
false - React children
Tbody
Tbodychildren
any 
false - React children
Tr
Trchildren
any 
false - React children
Trrest
object 
false - Rest object
Th
Thchildren
any 
false - React children
Threst
object 
false - Rest object
Td
Tdchildren
any 
false - React children
Tdrest
object 
false - Rest object