0.2.3 • Published 3 years ago

@bdt-component-library/callout v0.2.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Callout 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 is used to call out special information with multiple pieces of metadata, and is often used in multiples. By default, a headline appears, and other information and calls to action can be added.

API

proptyperequireddefaultexplanation
classNamestringno""Adds a custom className
headlinestringyes""The largest bit of content
secondarystringno""The copy under the headline
buttonElementReact.ReactElementnoundefinedThe Button component that appears on the right side of the component
chipElementReact.ReactElementnoundefinedThe Chip component that appears next to the headline
iconNamestringno""The isometric icon that appears before the headline
0.2.3

3 years ago

0.2.2

3 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago