(props)
| 7 | import {useId} from 'react-aria'; |
| 8 | |
| 9 | export function ExampleCard(props) { |
| 10 | let titleId = useId(); |
| 11 | let descriptionId = useId(); |
| 12 | return ( |
| 13 | <a |
| 14 | href={props.url} |
| 15 | className={styles.exampleCard} |
| 16 | {...getAnchorProps(props.url)} |
| 17 | aria-labelledby={titleId} |
| 18 | aria-describedby={descriptionId} |