芝麻web文件管理V1.00
编辑当前文件:/home/freeclou/app.optimyar.com/backend/.cache/admin/src/components/Roles/EmptyRole/index.js
import React from 'react'; import { Flex, Padded, Text } from '@buffetjs/core'; import { useIntl } from 'react-intl'; import { BaselineAlignment, useQuery } from 'strapi-helper-plugin'; const EmptyRole = () => { const { formatMessage } = useIntl(); const query = useQuery(); const search = query.get('_q'); return ( <>
{formatMessage( { id: 'Roles.components.List.empty.withSearch', defaultMessage: 'There is no role corresponding to the search ({search})...', }, { search } )}
> ); }; export default EmptyRole;