import { Center, Flex, IconProps, Stack, Text } from '@chakra-ui/react'; import { FC } from 'react'; interface Props { id: string; sectionTitle: string; sectionDescription?: React.ReactNode; children: React.ReactNode; Svg?: React.FC; ariaLabel?: string; } export const DownloadsSection: FC = ({ id, sectionTitle, sectionDescription, children, Svg, ariaLabel }) => { return ( {Svg && ( )}
{sectionTitle}
{sectionDescription && (
{sectionDescription}
)}
{children}
); };