import PropTypes from 'prop-types'; import React, { useState } from 'react'; import { Menu } from '../../../ui/menu'; const ConnectedAccountsListOptions = ({ children, onShowOptions, onHideOptions, show, }) => { const [optionsButtonElement, setOptionsButtonElement] = useState(null); return ( <> {show ? (
) : null} > ); }; ConnectedAccountsListOptions.propTypes = { children: PropTypes.node.isRequired, onHideOptions: PropTypes.func.isRequired, onShowOptions: PropTypes.func.isRequired, show: PropTypes.bool.isRequired, }; export default ConnectedAccountsListOptions;