Skip to content

Commit

Permalink
[list]: Added documentation for hasDivider prop (#5348)
Browse files Browse the repository at this point in the history
  • Loading branch information
srijangulati authored Sep 12, 2024
1 parent 3ac6562 commit 3f133a5
Show file tree
Hide file tree
Showing 4 changed files with 8,282 additions and 4 deletions.
5 changes: 5 additions & 0 deletions documentation-site/components/yard/config/list-item.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ const ListItemConfig: TConfig = {
type: PropTypes.Boolean,
description: "Renders the list item smaller to convey hierarchy.",
},
hasDivider: {
value: true,
type: PropTypes.Boolean,
description: "Renders the divider under the list item.",
},
overrides: {
value: undefined,
type: PropTypes.Custom,
Expand Down
53 changes: 50 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"dependencies": {
"@date-io/date-fns": "^2.13.1",
"@date-io/moment": "^2.13.1",
"baseui": "^14.0.0",
"card-validator": "^6.2.0",
"csstype": "2.6.11",
"d3": "^6.7.0",
Expand Down Expand Up @@ -57,7 +58,7 @@
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18",
"styletron-react": ">=6"
"styletron-react": "^6.1.1"
},
"devDependencies": {
"@babel/cli": "^7.23.4",
Expand Down
Loading

0 comments on commit 3f133a5

Please sign in to comment.