Skip to content

Commit 32cedc0

Browse files
authored
Add slot prop to JsxDOM.domProps (#7487)
* Add slot prop * Add changelog
1 parent 4836f3c commit 32cedc0

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
- JSX: do not error on ref as prop anymore (which is allowed in React 19). https://github.com/rescript-lang/rescript/pull/7420
2727
- Add new attribute `@notUndefined` for abstract types to prevent unnecessary wrapping with `Primitive_option.some` in JS output. https://github.com/rescript-lang/rescript/pull/7458
2828
- Preserve JSX: enable by adding `"-bs-jsx-preserve"` to `"bsc-flags"` (Does require `"jsx": { "version": 4 }`). https://github.com/rescript-lang/rescript/pull/7387
29+
- Add slot prop to `JsxDOM.domProps`. https://github.com/rescript-lang/rescript/pull/7487
2930

3031
#### :bug: Bug fix
3132

runtime/JsxDOM.res

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -533,6 +533,7 @@ type domProps = {
533533
seed?: string,
534534
shapeRendering?: string,
535535
slope?: string,
536+
slot?: string,
536537
spacing?: string,
537538
specularConstant?: string,
538539
specularExponent?: string,

0 commit comments

Comments
 (0)