@ffsm/as-array
Version:
A lightweight React utility component that allows passing the same props to multiple children at once, simplifying component composition and reducing repetitive code.
54 lines • 1.33 kB
JSON
{
"name": "@ffsm/as-array",
"version": "0.0.1",
"description": "A lightweight React utility component that allows passing the same props to multiple children at once, simplifying component composition and reducing repetitive code.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"license": "MIT",
"private": false,
"author": "S3Tech <s3tech.vn@gmail.com>",
"homepage": "https://github.com/ffsmio/monorepo/tree/main/packages/ffsmio-hooks",
"repository": {
"type": "git",
"url": "https://github.com/ffsmio/monorepo/tree/main/packages/ffsmio-hooks"
},
"keywords": [
"React",
"component",
"children",
"props",
"cloneElement",
"isValidElement",
"Fragment",
"higher-order component",
"props manipulation",
"component composition",
"utility",
"jsx",
"typescript",
"clone-element",
"react-utility",
"prop-forwarding"
],
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@types/node": "22.13.10",
"@types/react": "19.0.10",
"react": "19.0.0",
"rimraf": "6.0.1",
"typescript": "5.8.2"
},
"peerDependencies": {
"react": ">=16.0.0"
},
"scripts": {
"clean": "rimraf dist",
"build": "yarn clean && tsc",
"prepublishOnly": "yarn build"
}
}