File size: 653 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
import { Icon } from '@wordpress/components';
import { __ } from '@wordpress/i18n';
import { blockTable } from '@wordpress/icons';
import RouterLinkSummaryButton from '../../components/router-link-summary-button';
import type { Site } from '../../data/types';
import type { Density } from '@automattic/components/src/summary-button/types';
export default function DatabaseSettingsSummary( {
site,
density,
}: {
site: Site;
density?: Density;
} ) {
return (
<RouterLinkSummaryButton
to={ `/sites/${ site.slug }/settings/database` }
title={ __( 'Database' ) }
density={ density }
decoration={ <Icon icon={ blockTable } /> }
/>
);
}
|