'use client'; /* eslint-disable jsdoc/require-jsdoc */ import * as React from 'react'; import { usePlatform } from '../../hooks/usePlatform'; import type { HasChildren } from '../../types'; import { Caption } from '../Typography/Caption/Caption'; import { Footnote } from '../Typography/Footnote/Footnote'; import { Text } from '../Typography/Text/Text'; import { Title } from '../Typography/Title/Title'; import styles from './Alert.module.css'; interface AlertTypography extends HasChildren { 'id': string; 'data-testid'?: string; } export const AlertTitle = (props: AlertTypography): React.ReactNode => { const platform = usePlatform(); switch (platform) { case 'ios': return