diff --git a/lib/layer/Flow.js b/lib/layer/Flow.js new file mode 100644 index 00000000..666021b7 --- /dev/null +++ b/lib/layer/Flow.js @@ -0,0 +1,29 @@ +// This file is generated by tools/generate.js. DO NOT EDIT. +/** + * Copyright Planet Labs PBC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import OLFlow from 'ol/layer/Flow.js'; +import propTypes from 'prop-types'; +import {createElement, forwardRef} from 'react'; + +const Flow = forwardRef(({children, ...props}, ref) => { + return createElement('layer', {cls: OLFlow, ref, ...props}, children); +}); + +Flow.propTypes = { + children: propTypes.node, +}; + +export default Flow; diff --git a/package-lock.json b/package-lock.json index 8cc83e37..72f96ec0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2849,9 +2849,9 @@ "license": "MIT" }, "node_modules/@types/rbush": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/@types/rbush/-/rbush-3.0.4.tgz", - "integrity": "sha512-knSt9cCW8jj1ZSFcFeBZaX++OucmfPxxHiRwTahZfJlnQsek7O0bazTJHWD2RVj9LEoejUYF2de3/stf+QXcXw==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@types/rbush/-/rbush-3.0.3.tgz", + "integrity": "sha512-lX55lR0iYCgapxD3IrgujpQA1zDxwZI5qMRelKvmKAsSMplFVr7wmMpG7/6+Op2tjrgEex8o3vjg8CRDrRNYxg==", "dev": true }, "node_modules/@types/react": { @@ -9734,12 +9734,12 @@ } }, "node_modules/ol": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/ol/-/ol-10.1.0.tgz", - "integrity": "sha512-/efepydpzhFoeczA9KAN5t7G0WpFhP46ZXEfSl6JbZ7ipQZ2axpkYB2qt0qcOUlPFYMt7/XQFApH652KB08tTg==", + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/ol/-/ol-10.2.0.tgz", + "integrity": "sha512-yYFNV8LzN3uOP9qDecMdq07IKlD5P3KfbT+pfOje/XlsnMNLXOb3ZjCZN86wtbew8aq+RfdJ+XylVI8MZsp4Vw==", "dev": true, "dependencies": { - "@types/rbush": "^3.0.3", + "@types/rbush": "3.0.3", "color-rgba": "^3.0.0", "color-space": "^2.0.1", "earcut": "^3.0.0",