Skip to main content

    AdditionalInfo

    Code:

    import AdditionalInfo from '@department-of-veterans-affairs/formation-react/AdditionalInfo'
    
    <AdditionalInfo triggerText="Additional Information">
      <ul>
        <li>info A</li>
        <li>info B</li>
        <li>info C</li>
        <li>info D</li>
      </ul>
    </AdditionalInfo>
    

    Rendered Component

    Props:

    Prop NameTypeIs RequiredDefault ValueDescription
    triggerTextstringrequirednonethis is the text displayed for AdditionalInfo link or button
    onClickfuncoptionalnone