0.5.1 • Published 6 years ago

@govuk-react/hidden-text v0.5.1

Weekly downloads
48
License
MIT
Repository
-
Last release
6 years ago

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

PropRequiredDefaultTypeDescription
childrenundefinednodeThe nodes that will be displayed within the InsetText component
summaryTexttrue | string | Text for the summary button link e.g. Help with nationality
0.6.0-alpha.0

6 years ago

0.5.1

6 years ago

0.5.0

6 years ago

0.4.0

6 years ago

0.3.1

7 years ago

0.3.0

7 years ago

0.2.12

7 years ago

0.2.9

7 years ago

0.2.8

7 years ago

0.2.7

7 years ago

0.2.6

7 years ago

0.2.4

7 years ago

0.2.3

7 years ago