diff --git a/src/hoc/README.md b/src/hoc/README.md index 954fc8e..a68b6bc 100644 --- a/src/hoc/README.md +++ b/src/hoc/README.md @@ -71,7 +71,7 @@ You include the HOC in the same manner as you would for the treeTableHOC but the **Note:** The select field defaults to the accessor `_id` property in order to render the select field for that particular row. If your objects have different unique ID fields, make sure to tell React Table that by passing it the `keyField` property. -```Javascript +```javascript ``` @@ -190,10 +190,11 @@ render() { /> } ``` -#### Custom Compoments +#### Custom Components - FoldIconComponent: to render the Icon of buttons. - FoldButtonComponent: to render the folding buttons for each Column. With default rendering as below. + ```javascript const defaultFoldIconComponent = ({ collapsed }) => { //Render your Icon here