Hook useScrollWithShadow()
useScrollWithShadow<
T>(params:UseScrollWithShadowParams<T>): {boxShadow:string;onUpdate: (event:UIEvent<T,UIEvent> | {target:T|null; }) =>void; }
Source: scrollWithShadows.ts
Type Parameters
T
T extends HTMLElement = HTMLElement
Parameters
params
Returns
{ boxShadow: string; onUpdate: (event: UIEvent<T, UIEvent> | { target: T | null; }) => void; }
boxShadow
boxShadow:
string
onUpdate()
onUpdate: (
event:UIEvent<T,UIEvent> | {target:T|null; }) =>void
Parameters
event
UIEvent<T, UIEvent> | { target: T | null; }
Returns
void