File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,16 +8,16 @@ const propTypes = {
88 onloadCallback : PropTypes . func ,
99 verifyCallback : PropTypes . func ,
1010 expiredCallback : PropTypes . func ,
11- render : PropTypes . string ,
11+ render : PropTypes . oneOf ( [ 'onload' , 'explicit' ] ) ,
1212 sitekey : PropTypes . string ,
13- theme : PropTypes . string ,
13+ theme : PropTypes . oneOf ( [ 'light' , 'dark' ] ) ,
1414 type : PropTypes . string ,
1515 verifyCallbackName : PropTypes . string ,
1616 expiredCallbackName : PropTypes . string ,
17- size : PropTypes . string ,
17+ size : PropTypes . oneOf ( [ 'invisible' , 'compact' , 'normal' ] ) ,
1818 tabindex : PropTypes . string ,
1919 hl : PropTypes . string ,
20- badge : PropTypes . string ,
20+ badge : PropTypes . oneOf ( [ 'bottomright' , 'bottomleft' , 'inline' ] ) ,
2121} ;
2222
2323const defaultProps = {
You can’t perform that action at this time.
0 commit comments