@accessible/disclosure
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -39,3 +39,3 @@ import React from 'react' | ||
closedStyle?: React.CSSProperties | ||
children: React.ReactElement | ||
children: JSX.Element | React.ReactElement | ||
} | ||
@@ -42,0 +42,0 @@ export declare const Target: React.FC<TargetProps> |
@@ -198,3 +198,6 @@ 'use strict' | ||
closedStyle: _propTypes.default.any, | ||
children: _propTypes.default.element.isRequired, | ||
children: _propTypes.default.oneOfType([ | ||
_propTypes.default.element, | ||
_propTypes.default.element, | ||
]).isRequired, | ||
} | ||
@@ -201,0 +204,0 @@ |
@@ -39,3 +39,3 @@ import React from 'react' | ||
closedStyle?: React.CSSProperties | ||
children: React.ReactElement | ||
children: JSX.Element | React.ReactElement | ||
} | ||
@@ -42,0 +42,0 @@ export declare const Target: React.FC<TargetProps> |
@@ -139,3 +139,3 @@ import _pt from 'prop-types' | ||
closedStyle: _pt.any, | ||
children: _pt.element.isRequired, | ||
children: _pt.oneOfType([_pt.element, _pt.element]).isRequired, | ||
} | ||
@@ -142,0 +142,0 @@ export const Close = ({children}) => { |
{ | ||
"name": "@accessible/disclosure", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"homepage": "https://github.com/accessible-ui/disclosure#readme", | ||
@@ -5,0 +5,0 @@ "repository": "github:accessible-ui/disclosure", |
@@ -45,3 +45,3 @@ <hr> | ||
[Check out the example on CodeSandbox](https://codesandbox.io/s/accessiblecollapse-example-8pkd2) | ||
[Check out the example on CodeSandbox](https://codesandbox.io/s/accessibledisclosure-example-8pkd2) | ||
@@ -48,0 +48,0 @@ ```jsx harmony |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36043
605