import React, { forwardRef } from "react"; import { cl } from "../../utils/helpers"; const FormSummaryAnswersContext = React.createContext(false); export interface FormSummaryAnswersProps extends React.HTMLAttributes { /** * Must include one or more of ``. */ children: React.ReactNode; } export const FormSummaryAnswers = forwardRef< HTMLDListElement, FormSummaryAnswersProps >(({ children, className, ...rest }: FormSummaryAnswersProps, ref) => { const isNested = React.useContext(FormSummaryAnswersContext); return (
{children}
); }); export default FormSummaryAnswers;