Skip to content

Commit 8f59af3

Browse files
authored
Deprecating float style prop in custom formatter (SharePoint#10169)
* Deprecating float style prop in custom formatter * Update formatting-syntax-reference.md
1 parent 6523be2 commit 8f59af3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/declarative-customization/formatting-syntax-reference.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ An optional property that specifies the text content of the element specified by
5353

5454
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.
5555

56+
> [!CAUTION]
57+
> Float style prop no longer supported in custom formatter. Users are encouraged to use Gallery View as a more stable alternative.
58+
5659
```javascript
5760
'background-color'
5861
'fill'
@@ -163,7 +166,7 @@ An optional property that specifies style attributes to apply to the element spe
163166
'clear'
164167
'clip'
165168
'display'
166-
'float'
169+
'float' (Deprecated)
167170
'left'
168171
'overflow'
169172
'position'

0 commit comments

Comments
 (0)