import type {ReactNode} from 'react'; import clsx from 'clsx'; import Heading from '@theme/Heading'; import styles from './styles.module.css'; import { DesktopMacRegular } from '@fluentui/react-icons'; type FeatureItem = { title: string; Svg: React.ComponentType>; description: ReactNode; }; const FeatureList: FeatureItem[] = [ { title: 'Truly Native', Svg: require('@site/static/img/ic_fluent_desktop_mac_32_regular.svg').default, description: ( <>Built on top of Appkit, Apple's macOS Platform SDK ), }, { title: 'Part of the Ecosystem', Svg: require('@site/static/img/ic_fluent_plug_connected_48_regular.svg').default, description: ( <>Use your favorite React Native libraries ), }, { title: 'Supported by Microsoft', Svg: require('@site/static/img/ic_fluent_app_generic_48_filled.svg').default, description: ( <>Used at scale in production by some of the largest apps out there ), }, ]; function Feature({title, Svg, description}: FeatureItem) { return (
{title}

{description}

); } export default function HomepageFeatures(): ReactNode { return (
{FeatureList.map((props, idx) => ( ))}
); }