add descriptions

This commit is contained in:
Cory LaViska
2022-02-26 10:46:25 -05:00
parent b0bebcd162
commit 1147d6ba4a

View File

@@ -100,6 +100,8 @@ const App = () => (
### Custom Icons
You can provide custom icons by passing a function to the `getSymbol` property.
```html preview
<sl-rating class="rating-hearts" style="--symbol-color-active: #ff4136;"></sl-rating>
@@ -123,6 +125,8 @@ const App = () => (
### Value-based Icons
You can also use the `getSymbol` property to render different icons based on value.
```html preview
<sl-rating class="rating-emojis"></sl-rating>