PaletteSelectionEffect

The selection effect to apply to a palette item.

StructureiOS 17.0+macOS 14.0+PaletteSelectionEffect in SwiftUI

Declaration

React
type PaletteSelectionEffect = 'automatic' | 'custom' | { symbolVariant: SymbolVariants; };
Swift
struct PaletteSelectionEffect

Pass a literal, or build one with SwiftUI.PaletteSelectionEffect from import { SwiftUI } from 'swiftui-react-native'.

Type properties

Type methods

Overview

You can configure the selection effect of a palette item by using the View.paletteSelectionEffect(_:) view modifier.

From Apple’s SwiftUI documentation. Code samples there are Swift.

Used by

See also

More in Lists and tables.