@react-md/autocomplete
Advanced tools
Comparing version 2.7.0 to 2.7.1
@@ -6,2 +6,14 @@ # Change Log | ||
## [2.7.1](https://github.com/mlaursen/react-md/compare/v2.7.0...v2.7.1) (2021-03-23) | ||
### Other Internal Changes | ||
* **ts:** stopped using FC type ([c5daa47](https://github.com/mlaursen/react-md/commit/c5daa47d73516e075c036fd745e7228d7f155a62)) | ||
# [2.7.0](https://github.com/mlaursen/react-md/compare/v2.6.0...v2.7.0) (2021-02-28) | ||
@@ -8,0 +20,0 @@ |
{ | ||
"name": "@react-md/autocomplete", | ||
"version": "2.7.0", | ||
"version": "2.7.1", | ||
"description": "", | ||
@@ -41,10 +41,10 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@react-md/form": "^2.7.0", | ||
"@react-md/list": "^2.7.0", | ||
"@react-md/form": "^2.7.1", | ||
"@react-md/list": "^2.7.1", | ||
"@react-md/portal": "^2.7.0", | ||
"@react-md/states": "^2.7.0", | ||
"@react-md/theme": "^2.7.0", | ||
"@react-md/transition": "^2.7.0", | ||
"@react-md/typography": "^2.7.0", | ||
"@react-md/utils": "^2.7.0", | ||
"@react-md/states": "^2.7.1", | ||
"@react-md/theme": "^2.7.1", | ||
"@react-md/transition": "^2.7.1", | ||
"@react-md/typography": "^2.7.1", | ||
"@react-md/utils": "^2.7.1", | ||
"classnames": "^2.2.6" | ||
@@ -65,3 +65,3 @@ }, | ||
}, | ||
"gitHead": "931e81f628b580837df3a97267a42c9880b13815" | ||
"gitHead": "4fb8828b048fd2472096d5f55033cc4a7ba24e1a" | ||
} |
@@ -35,3 +35,3 @@ # @react-md/autocomplete | ||
```tsx | ||
import React, { FC } from "react"; | ||
import React from "react"; | ||
import { AutoComplete } from "@react-md/autocomplete"; | ||
@@ -51,13 +51,13 @@ | ||
const Example: FC = () => ( | ||
<AutoComplete | ||
id="search-fruits" | ||
name="fruits" | ||
label="Fruits" | ||
placeholder="Kiwi..." | ||
data={fruits} | ||
/> | ||
); | ||
export default Example; | ||
function Example() { | ||
return ( | ||
<AutoComplete | ||
id="search-fruits" | ||
name="fruits" | ||
label="Fruits" | ||
placeholder="Kiwi..." | ||
data={fruits} | ||
/> | ||
); | ||
} | ||
``` |
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
219917
Updated@react-md/form@^2.7.1
Updated@react-md/list@^2.7.1
Updated@react-md/states@^2.7.1
Updated@react-md/theme@^2.7.1
Updated@react-md/transition@^2.7.1
Updated@react-md/typography@^2.7.1
Updated@react-md/utils@^2.7.1