@k8slens/details-panel-components
v1.0.2
Published
The presentational parts of a details panel section: the rows, labels, badges and sub-titles the sections of Lens are made of
Maintainers
Keywords
Readme
@k8slens/details-panel-components
The presentational parts a details panel section is made of: DrawerItem for a name and value row, DrawerItemLabels for a row of labels, ExpandableDrawerItem for a row that collapses, DrawerSubTitle for a heading inside a section, NoItemsDetailItem for the empty case and ConditionBadge for a Kubernetes condition. They are props in and JSX out, register nothing, and are what the sections of Lens itself render, so a section built from them looks native.
Several components share this package on purpose: they are one section's vocabulary and only make sense together.
Usage
$ npm install @k8slens/details-panel-components