diff --git a/lib/components/boot-warning/index.tsx b/lib/components/boot-warning/index.tsx index 7b915a969..42f66f3bf 100644 --- a/lib/components/boot-warning/index.tsx +++ b/lib/components/boot-warning/index.tsx @@ -1,14 +1,8 @@ -import React from 'react'; -import PropTypes from 'prop-types'; - +import React, { FunctionComponent } from 'react'; import './style'; -const BootWarning = ({ children }) => ( +const BootWarning: FunctionComponent = ({ children }) => (

{children}

); -BootWarning.propTypes = { - children: PropTypes.node.isRequired, -}; - export default BootWarning;