import React from 'react'; import PropTypes from 'prop-types'; import { useIntl } from 'react-intl'; import { Tooltip } from '@strapi/parts/Tooltip'; const LabelAction = ({ title, icon }) => { const { formatMessage } = useIntl(); return ( ); }; LabelAction.propTypes = { icon: PropTypes.element.isRequired, title: PropTypes.shape({ id: PropTypes.string.isRequired, defaultMessage: PropTypes.string.isRequired, }).isRequired, }; export default LabelAction;