diff --git a/README.md b/README.md index 1b25a3b..f2f8765 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ On of the props (onAccept) is a function, this function will be called after the | location | String, either "top" or "bottom" | bottom | Syntactic sugar to easily enable you to place the bar at the top or the bottom of the browser window. | | children | String or React component | | Content to appear inside the bar | | disableStyles | boolean | false | If enabled the component will have no default style. (you can still supply style through props) | -| buttonText | string | I understand | Text to appear on the button | +| buttonText | String or React component | I understand | Text to appear on the button | | cookieName | string | CookieConsent | Name of the cookie used to track whether the user has agreed. | | onAccept | function | () => {} | Function to be called after the accept button has been clicked. | | style | Object | ![barstyle](https://github.com/Mastermindzh/react-cookie-consent/blob/master/images/barStyle.png?raw=true) | React styling object for the bar. |