Skip to content

Commit

Permalink
Add additional interface
Browse files Browse the repository at this point in the history
  • Loading branch information
donnapep committed Dec 5, 2024
1 parent 7a96957 commit 29f21d4
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,19 @@ import type { UrlData } from 'calypso/blocks/import/types';
import './style.scss';

interface HostingDetailsProps {
items: { title?: string; icon?: ReactElement; description: string }[];
items: { title: string; description: string }[];
}

interface HostingDetailsWithIconsProps {
items: {
icon: ReactElement;
description: string;
}[];
}

const isMigrationExperimentEnabled = config.isEnabled( 'migration-flow/experiment' );

const HostingDetailsWithIcons: FC< HostingDetailsProps > = ( { items } ) => {
const HostingDetailsWithIcons: FC< HostingDetailsWithIconsProps > = ( { items } ) => {
const translate = useTranslate();

return (
Expand Down

0 comments on commit 29f21d4

Please sign in to comment.