Harvey
Harvey
how can I custom style for each menu item when use `items`?
It seems that the component didn’t calculate the position after scroll ```ts // renderless/src/slider/index.ts // bindMouseDown() + api.bindResize() const currentValue = api.calculateValue(event) ```
```ts type TupleToNestedObject = T extends [infer F extends PropertyKey,...infer R]? { [K in F] : TupleToNestedObject } :U ```
> > ```ts > > type TupleToNestedObject = T extends [infer F extends PropertyKey,...infer R]? > > { > > [K in F] : TupleToNestedObject > > } > >...
```ts type MyOmit = { [P in keyof T as P extends PropertyKey ? never : P]: T[P] } ```