0.3.4 • Published 4 years ago

@bdt-component-library/container v0.3.4

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

Container 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

Serves as a basic, top-level layout container, handling positioning for different child components.

API

proptyperequireddefaultexplanation
childrenReact nodeyesn/aThe component/text to render inside the button
classNamestringno""Adds an optional classname to the component
idstringno""Adds an optional id to the component
positionenum("relative", "fixed-top", "fixed-bottom")no"relative"Adds positioning to the container
isHorizontallyCenteredbooleannofalseDetermines if the children are centered horizontally (nested layout components may override this)
0.3.4

4 years ago

0.3.3

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago