0.10.1 • Published 4 years ago

@bdt-component-library/unordered-list v0.10.1

Weekly downloads
6
License
MIT
Repository
github
Last release
4 years ago

UnorderedList 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

Handles display of unordered lists according to style guide conventions. Can be used for many generic kinds of lists, including input controls.

API

proptyperequireddefaultexplanation
classNamestringnon/aAdds an optional classname to the list
childrenReact nodeyesn/aThe inner content of the list
variantenum("unstyled", "icon")no"unstyled"Changes list style for use with elements like icons
inlinebooleannofalseChanges list style to inline
inlineWithSeparatorsbooleannofalseChanges list style to inline with elements like icons, overrides inline
noTopMarginbooleannofalseRemoves top spacing
noBottomMarginbooleannofalseRemoves bottom spacing
spacingenum(0, 1, 2, 3, 4)no1Determines the spacing between children passed into the UnorderedList component (0 means no spacing)
0.10.0

4 years ago

0.10.1

4 years ago

0.9.0

4 years ago

0.8.0

4 years ago

0.7.4

4 years ago

0.7.2

4 years ago

0.7.1

4 years ago

0.7.3

4 years ago

0.7.0

4 years ago

0.5.0

4 years ago

0.6.0

4 years ago

0.3.0

4 years ago

0.4.0

4 years ago

0.2.0

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago