JSPM

@instructure/ui-toggle-details

7.3.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 12730
  • Score
    100M100P100Q137009F
  • License MIT

A styled toggleable, accordion-like component.

Package Exports

  • @instructure/ui-toggle-details

Readme


category: packages

ui-toggle-details

npm  build-status  MIT License  Code of Conduct

A styled toggleable, accordion-like component.

Components

The ui-toggle-details package contains the following:

Installation

yarn add @instructure/ui-toggle-details

Usage

import React from 'react'
import { ToggleDetails } from '@instructure/ui-toggle-details'

const MyToggleDetails = () => {
  return (
    <ToggleDetails summary="Hello toggle">
      <Text>Hello details</Text>
    </ToggleDetails>
  )
}