import clsx from 'clsx'; import {getAnchorProps} from './utils'; import {Image} from './Image'; import React from 'react'; import styles from './ExampleCard.css'; import typographyStyles from '@adobe/spectrum-css-temp/components/typography/vars.css'; import {useId} from 'react-aria'; export function ExampleCard(props) { let titleId = useId(); let descriptionId = useId(); return ( {props.children ? ( React.cloneElement(props.children, {'aria-hidden': true}) ) : ( )}
{props.title}
{props.description}
); }