-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: integrate price field into internal collection
- Loading branch information
1 parent
a86232d
commit 7d3d594
Showing
5 changed files
with
51 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@frameless/overige-objecten-api": patch | ||
--- | ||
|
||
Zorg ervoor dat het kosten-veld beschikbaar is in de interne-veld-/overige-objecten-API. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
apps/overige-objecten-api/src/utils/renderMarkdownToString.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import React from 'react'; | ||
import { renderToString } from 'react-dom/server'; | ||
import { Markdown, type MarkdownProps } from '../components/Markdown'; | ||
|
||
export interface RenderMarkdownToStringProps extends MarkdownProps {} | ||
|
||
export const renderMarkdownToString = ({ children, priceData }: RenderMarkdownToStringProps) => | ||
renderToString(<Markdown priceData={priceData}>{children}</Markdown>); |