mirror of
				https://github.com/Mastermindzh/react-cookie-consent.git
				synced 2025-11-04 02:38:50 +01:00 
			
		
		
		
	readme update
This commit is contained in:
		@@ -153,6 +153,8 @@ If the decline button is enabled then the (onDecline) prop function can be used,
 | 
			
		||||
| ButtonComponent          |          React component          | button                               | React Component to render as a button.                                                                                                  |
 | 
			
		||||
| sameSite                 | string, "strict", "lax" or "none" | none                                 | Cookies sameSite attribute value                                                                                                        |
 | 
			
		||||
| cookieSecurity           |              boolean              | undefined                            | Cookie security level. Defaults to true unless running on http.                                                                         |
 | 
			
		||||
| ariaAcceptLabel          |              string               | Accept cookies                       | Aria label to set on the accept button                                                                                                  |
 | 
			
		||||
| ariaDeclineLabel         |              string               | Decline cookies                      | Aria label to set on the decline button                                                                                                 |
 | 
			
		||||
 | 
			
		||||
## Debugging it
 | 
			
		||||
 | 
			
		||||
@@ -180,7 +182,6 @@ When checking the cookie it'll do it in reverse. If the regular cookie exists, i
 | 
			
		||||
 | 
			
		||||
The long story can be found here: [pull-request#68](https://github.com/Mastermindzh/react-cookie-consent/pull/68)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
## Styling it
 | 
			
		||||
 | 
			
		||||
You can provide styling for the bar, the button and the content. Note that the bar has a `display: flex` property as default and is parent to its children "content" and "button".
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user