Zaid-Ajaj / Feliz

A fresh retake of the React API in Fable and a collection of high-quality components to build React applications in F#, optimized for happiness
https://zaid-ajaj.github.io/Feliz/
MIT License
544 stars 81 forks source link

Fix property name of break-before/after/inside #494

Closed panmona closed 2 years ago

panmona commented 2 years ago

The current implementation of breakBefore, breakInside and breakAfter leads to this warning from React:

Warning: Unsupported style property break-inside. Did you mean breakInside?

This PR solves this by using the camel case name of the property.

Zaid-Ajaj commented 2 years ago

Hi there @panmau and thanks a lot for the contribution 🙏 it has been merged and published as of Feliz v1.66 🚀