Skip to content

Commit ac5edc0

Browse files
committed
chore: Remove rest context
1 parent d1ab1a9 commit ac5edc0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Overflow.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ export const OverflowContext = React.createContext<{
1919

2020
// Rest Usage
2121
className?: string;
22-
rest?: boolean;
2322
}>(null);
2423

2524
const RESPONSIVE = 'responsive' as const;
@@ -328,7 +327,6 @@ function Overflow<ItemType = any>(
328327
value={{
329328
...itemSharedProps,
330329
...restContextProps,
331-
rest: true,
332330
}}
333331
>
334332
{renderRawRest(omittedItems)}

0 commit comments

Comments
 (0)