mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-06 06:19:58 +08:00
Merge pull request #24630 from Christian2000/react-beautiful-dnd-wrong-type-z-Index
Changed react-beautiful-dnd ZIndex type to React.CSSProperties['z-Ind…
This commit is contained in:
2
types/react-beautiful-dnd/index.d.ts
vendored
2
types/react-beautiful-dnd/index.d.ts
vendored
@@ -12,7 +12,7 @@ export type Id = string;
|
||||
export type DraggableId = Id;
|
||||
export type DroppableId = Id;
|
||||
export type TypeId = Id;
|
||||
export type ZIndex = number | string;
|
||||
export type ZIndex = React.CSSProperties['zIndex'];
|
||||
export type DropReason = 'DROP' | 'CANCEL';
|
||||
export type Announce = (message: string) => void;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user