Novelty Polygonal Mathematics

    @govuk-react/hidden-text

    0.5.1 • Public • Published

    HiddenText

    Import

      import HiddenText from '@govuk-react/hidden-text';

    Usage

    Simple

    import Paragraph from '@govuk-react/paragraph';
     
    <HiddenText summaryText={'Help with nationality'}>
      <Paragraph mb={0}>I am a paragraph. Please read me.</Paragraph>
    </HiddenText>

    References

    Properties

    Prop Required Default Type Description
    children undefined node The nodes that will be displayed within the InsetText component
    summaryText true `````` string Text for the summary button link e.g. Help with nationality

    Keywords

    none

    Install

    npm i @govuk-react/hidden-text

    DownloadsWeekly Downloads

    345

    Version

    0.5.1

    License

    MIT

    Unpacked Size

    51.5 kB

    Total Files

    23

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar