palantir/blueprint

Add bordered prop to the Section component

开放

#6,577 创建于 2023年11月30日

 (1 条评论) (0 个反应) (0 位负责人)TypeScript (2,167 个派生)batch import
P2Package: coreType: feature requesthelp wanted

仓库指标

星标
 (20,263 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Environment

  • Package version(s): BP5
  • Browser and OS versions:

Feature request

It would be nice to have a prop in the Section component called Bordered (similar to the CardList) that allows the consumer of the component to decide whether to render the border lines of Section.

In addition to removing the border, the gap between the title and the body of the section should be reduced to 15px when bordered is false. Removing just the border leaves too much space.

Examples

贡献者指南