diff --git a/CHANGELOG.md b/CHANGELOG.md index 041a859..28f75d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [6.1.3](https://github.com/SortableJS/react-sortablejs/compare/v6.1.2...v6.1.3) (2022-05-31) + + +### Bug Fixes + +* **react18:** add `children` to `ReactSortableProps` ([f6b4e2e](https://github.com/SortableJS/react-sortablejs/commit/f6b4e2e1fa235752348c3b4021120c2a56ea41c7)) + ## [6.1.2](https://github.com/SortableJS/react-sortablejs/compare/v6.1.1...v6.1.2) (2022-04-03) diff --git a/package.json b/package.json index eb8319e..96b8150 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-sortablejs", - "version": "6.1.2", + "version": "6.1.3", "author": { "name": "Wayne Van Son", "email": "waynevanson@gmail.com" diff --git a/src/index.ts b/src/index.ts index c5bf830..5b9285f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -10,6 +10,6 @@ export { SortableEvent, SortableOptions, Utils, -} from "sortablejs" -export { ReactSortable } from "./react-sortable" -export * from "./types" +} from "sortablejs"; +export { ReactSortable } from "./react-sortable"; +export * from "./types"; diff --git a/src/types.ts b/src/types.ts index df79001..f03acdf 100644 --- a/src/types.ts +++ b/src/types.ts @@ -2,6 +2,7 @@ import { CSSProperties, ForwardRefExoticComponent, ReactHTML, + ReactNode, RefAttributes, } from "react"; import Sortable, { MoveEvent, Options, SortableEvent } from "sortablejs"; @@ -57,6 +58,7 @@ export interface ReactSortableProps style?: CSSProperties; className?: string; id?: string; + children?: ReactNode; } /** pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy