Skip to content

Commit

Permalink
Update packages/dnb-design-system-portal/src/docs/uilib/components/li…
Browse files Browse the repository at this point in the history
…st-format/info.mdx
  • Loading branch information
langz authored Nov 8, 2024
1 parent fce72f2 commit 984e58a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ return listFormat(myList, {
See the following [demo](/uilib/components/list-format/demos/#using-listformat-function) for a more detailed example.

The `listFormat` function supports an object with `{ format, locale }` as the second parameter. `format` and `locale` will accept the same values as documented in [properties](/uilib/components/list-format/properties/) of the `ListFormat` component.
The function does not support `variant` and `listType`, as it does not return a list, but rather return a string(or JSX if that's provided).
The function does not support `variant` and `listType`, as it does not return a list, but rather return a string.

0 comments on commit 984e58a

Please sign in to comment.