Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/flamrdevs/propsplit

Split props
https://github.com/flamrdevs/propsplit

component utility

Last synced: about 2 months ago
JSON representation

Split props

Awesome Lists containing this project

README

        





license





version





size





lucide rocket


propsplit

Split props utility




lucide code


usage

```ts
import propsplit from "propsplit";

const props = {
foo: "string",
bar: 1,
baz: true,
other: ["is", "array"],
another: { is: "object" },
};

const [foo, bar, baz, rest] = propsplit(props, ["foo"], ["bar"], ["baz"]);
```




lucide scale


license

MIT