Skip to content

Commit 03a2441

Browse files
committed
Update readme
1 parent 6c041ac commit 03a2441

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

README.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -278,20 +278,14 @@ public string[] collection = {"hello", "world"};
278278

279279
#### Unit
280280

281-
![Unit](https://github.com/user-attachments/assets/7b40aa28-cb5f-4764-9ec1-19ed95b12803)
281+
![Unit](https://github.com/user-attachments/assets/ad355200-150b-4a03-9b96-255f966a097b)
282282

283283
```csharp
284-
[Unit("My custom Unit")]
285-
public float freeTextUnit;
286-
287284
[Unit(UnitAttribute.Meter)]
288285
public float lengthInMeters;
289286

290-
[Unit(UnitAttribute.Centimeter)]
291-
public float lengthInCentimeters;
292-
293-
[Unit(UnitAttribute.Millimeter)]
294-
public float lengthInMillimeters;
287+
[Unit("My custom Unit")]
288+
public float freeTextUnit;
295289
```
296290

297291
### Styling

0 commit comments

Comments
 (0)