search-multiple-select
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "search-multiple-select", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "searchable multiple select react component", | ||
@@ -5,0 +5,0 @@ "author": "Nazeh-Taha", |
@@ -24,4 +24,9 @@ # search-multiple-select | ||
class Example extends Component { | ||
// the callback. Use a better name | ||
const getOptionsData = (data) => { | ||
console.log(data); // print option data - to test | ||
}; | ||
render() { | ||
return <MyComponent /> | ||
return <MyComponent options={['']} getOptionsData={getOptionsData}/> | ||
} | ||
@@ -28,0 +33,0 @@ } |
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
29461
46