JSPM

@instructure/ui-toggle-details

11.2.1-snapshot-9
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 9047
  • Score
    100M100P100Q142329F
  • License MIT

A styled toggleable, accordion-like component.

Package Exports

  • @instructure/ui-toggle-details
  • @instructure/ui-toggle-details/es/index.js
  • @instructure/ui-toggle-details/lib/ToggleDetails
  • @instructure/ui-toggle-details/lib/ToggleDetails/index.js
  • @instructure/ui-toggle-details/lib/ToggleGroup
  • @instructure/ui-toggle-details/lib/ToggleGroup/index.js
  • @instructure/ui-toggle-details/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@instructure/ui-toggle-details) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

ui-toggle-details

npm MIT License Code of Conduct

A styled toggleable, accordion-like component.

Components

The ui-toggle-details package contains the following:

Installation

npm install @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>
  )
}