Socket
Book a DemoInstallSign in
Socket

@bdt-component-library/description-list-item

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bdt-component-library/description-list-item

DescriptionListItem component

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
2
Created
Source

DescriptionListItem Component

About

This is a component published as its own package from our component library monorepo: https://github.com/BenefitsDataTrust/ui-components. Setup instructions, as well as higher-level goals and concerns can be found from the main project README.

Description

This component renders a heading and text in a list format. It is intended to be wrapped by the DescriptionList component.

API

proptyperequireddefaultexplanation
childrenReact nodeyesn/aThe information that renders under the heading
classNamestringno""Adds a class to the component
inlinebooleannofalseDetermines whether the heading and children render horizontally or vertically
headingstringyesn/aThe bold text that renders above the children

FAQs

Package last updated on 16 Nov 2021

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