Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@govuk-react-bjss-pttg/details

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@govuk-react-bjss-pttg/details

Renders a styled details element along with summary from prop and children rendered as contents.

  • 0.10.7
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Details

Import

  import Details from '@govuk-react-bjss-pttg/details';

Make a page easier to scan by letting users reveal more detailed information only if they need it.

  • https://govuk-react.github.io/govuk-react/?path=/docs/details
  • https://design-system.service.gov.uk/components/details/

Properties

PropRequiredDefaultTypeDescription
childrenundefinedReactNodeThe content that will be displayed when details are revealed
openundefinedbooleanFlag to indicate whether to show component open by default
summarytrueReactNodeText for the details summary link e.g. Help with nationality

FAQs

Package last updated on 30 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc