import React from 'react';
import { Heading } from '@digigov/ui/typography/Heading';
import { HeadingCaption } from '@digigov/ui/typography/HeadingCaption';

export const NestedToTitle = (_: any) => (
  <Heading size="lg" element="h2">
    <HeadingCaption size="xl">caption for ds-heading-xl </HeadingCaption>
    ds-heading-xl
  </Heading>
);

export default NestedToTitle;
