palantir/blueprint

Add bordered prop to the Section component

Open

#6,577 opened on 2023年11月30日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)TypeScript (20,263 stars) (2,167 forks)batch import
P2Package: coreType: feature requesthelp wanted

説明

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

コントリビューターガイド