Skip to content

Commit 4d46c64

Browse files
committed
Update SFSymbol docs
1 parent d43a09d commit 4d46c64

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

versioned_docs/version-8.x/icons.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ The component accepts the following props:
241241
- `'pulse'`
242242
- `scope`: Whether to animate the whole symbol at once or by layer. Can be one of:
243243
- `'byLayer'` (default)
244-
- `'wholeSymbol'`
244+
- `'wholeSymbol'`
245245

246246
- `wiggle`:
247247
- `direction`: Direction for the effect. Can be one of:
@@ -311,8 +311,13 @@ The component accepts the following props:
311311
Transitions have the following options:
312312
- `type`: The transition to apply. One of the values listed above.
313313
- `speed`: Speed multiplier for the transition. Defaults to `1`.
314-
- `variant`: Direction for the `replace` transition. Can be `'downUp'`, `'upUp'`, or `'offUp'`.
315-
- `scope`: Whether the `replace` transition runs by layer or on the whole symbol.
314+
- `variant`: Direction for the `replace` transition. Can be one of:
315+
- `'downUp'`
316+
- `'upUp'`
317+
- `'offUp'`
318+
- `scope`: Whether the `replace` transition runs by layer or on the whole symbol. Can be one of:
319+
- `'byLayer'` (default)
320+
- `'wholeSymbol'`
316321
- `magic`: Whether to prefer Magic Replace for `replace` transitions when possible. Falls back to regular Replace on iOS 17.
317322

318323
This can be used to animate changes to the icon in response to state. For example, changing `wifi` to `wifi.slash` with a `magic` replace transition animates the slash across the symbol.

0 commit comments

Comments
 (0)