Skip to content

API Reference / @gtkx/animated / TrailComponentProps

Type Alias: TrailComponentProps<Item, Props> ​

TrailComponentProps<Item, Props> = unknown & UseSpringProps<Props> & object

Defined in: node_modules/.pnpm/@react-spring+core@10.1.2_react@19.2.8/node_modules/@react-spring/core/dist/react-spring_core.modern.d.mts:1284

Type Declaration ​

children ​

children: (item, index) => ((values) => ReactNode) | Falsy

Parameters ​

item ​

NoInfer<Item>

index ​

number

Returns ​

((values) => ReactNode) | Falsy

items ​

items: readonly Item[]

Type Parameters ​

Item ​

Item

Props ​

Props extends object = any