Skip to content

Deprecating float style prop in custom formatter #10169

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ An optional property that specifies the text content of the element specified by

An optional property that specifies style attributes to apply to the element specified by `elmType`. This is an object with name-value pairs that correspond to CSS names and values. The values of each property in the style object can either be a string (including special strings) or an Expression object. The following style attributes are allowed.

> [!CAUTION]
> Float style prop no longer supported in custom formatter. Users are encouraged to use Gallery View as a more stable alternative.

```javascript
'background-color'
'fill'
Expand Down Expand Up @@ -163,7 +166,7 @@ An optional property that specifies style attributes to apply to the element spe
'clear'
'clip'
'display'
'float'
'float' (Deprecated)
'left'
'overflow'
'position'
Expand Down