Skip to content

Commit f966dd6

Browse files
committed
component def tweaks
1 parent 209da89 commit f966dd6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/content/docs/style-guide/components/resources-by-selector.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,11 @@ import { ResourcesBySelector } from "~/components";
4343
- `products` <Type text="string[]" /> <MetaInfo text="optional" />
4444

4545
An array of `products` values to filter which content gets pulled into the component. For example, `products={["D1"]}`.
46+
47+
- `showDescriptions` <Type text="boolean" /> <MetaInfo text="optional (default true)" />
48+
49+
If set to `false`, will only show the titles of associated pages, not the showDescriptions
50+
51+
- `showLastUpdated` <Type text="boolean" /> <MetaInfo text="optional (default false)" />
52+
53+
If set to `true`, will add the last updated date, which is added in the [`updated` frontmatter value](/style-guide/frontmatter/custom-properties/#updated).

0 commit comments

Comments
 (0)