{"id":13789014,"url":"https://github.com/afeiship/react-inline-edit","last_synced_at":"2026-03-15T15:13:47.494Z","repository":{"id":57123009,"uuid":"98139147","full_name":"afeiship/react-inline-edit","owner":"afeiship","description":"Inline editing for react.","archived":false,"fork":false,"pushed_at":"2021-12-20T15:33:40.000Z","size":251,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-25T08:02:15.919Z","etag":null,"topics":["edit","editing","inline","react"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/afeiship.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-24T02:01:01.000Z","updated_at":"2021-12-21T00:15:47.000Z","dependencies_parsed_at":"2022-08-24T14:59:33.115Z","dependency_job_id":null,"html_url":"https://github.com/afeiship/react-inline-edit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Freact-inline-edit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Freact-inline-edit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Freact-inline-edit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Freact-inline-edit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/afeiship","download_url":"https://codeload.github.com/afeiship/react-inline-edit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252978755,"owners_count":21834915,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["edit","editing","inline","react"],"created_at":"2024-08-03T21:00:57.521Z","updated_at":"2026-03-15T15:13:42.473Z","avatar_url":"https://github.com/afeiship.png","language":"TypeScript","readme":"# react-inline-edit\n\u003e Inline editing for react.\n\n[![version][version-image]][version-url]\n[![license][license-image]][license-url]\n[![size][size-image]][size-url]\n[![download][download-image]][download-url]\n\n## installation\n```shell\nnpm install -S @jswork/react-inline-edit\n```\n\n## usage\n1. import css\n  ```scss\n  @import \"~@jswork/react-inline-edit/dist/style.css\";\n\n  // or use sass\n  @import \"~@jswork/react-inline-edit/dist/style.scss\";\n\n  // customize your styles:\n  $react-inline-edit-options: ()\n  ```\n2. import js\n  ```js\n  import React, { useState, useEffect } from 'react';\n  import ReactInlineEdit from '@jswork/react-inline-edit';\n  import styled from 'styled-components';\n  import '../../src/components/style.scss';\n\n  const Container = styled.div`\n    width: 80%;\n    margin: 30px auto 0;\n  `;\n\n  export default () =\u003e {\n    const [value, setValue] = useState('Hello inline edit');\n\n    useEffect(() =\u003e {\n      console.log('value changed:', value);\n    }, [value]);\n\n    return (\n      \u003cContainer\u003e\n        \u003cReactInlineEdit value={value} inputClassName='test-cls'\n                         onChange={(e) =\u003e setValue(e.target.value)} /\u003e\n      \u003c/Container\u003e\n    );\n  };\n\n  ```\n\n## preview\n- https://afeiship.github.io/react-inline-edit/\n\n## license\nCode released under [the MIT license](https://github.com/afeiship/react-inline-edit/blob/master/LICENSE.txt).\n\n[version-image]: https://img.shields.io/npm/v/@jswork/react-inline-edit\n[version-url]: https://npmjs.org/package/@jswork/react-inline-edit\n\n[license-image]: https://img.shields.io/npm/l/@jswork/react-inline-edit\n[license-url]: https://github.com/afeiship/react-inline-edit/blob/master/LICENSE.txt\n\n[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/react-inline-edit\n[size-url]: https://github.com/afeiship/react-inline-edit/blob/master/dist/react-inline-edit.min.js\n\n[download-image]: https://img.shields.io/npm/dm/@jswork/react-inline-edit\n[download-url]: https://www.npmjs.com/package/@jswork/react-inline-edit\n","funding_links":[],"categories":["微信小程序WePY框架开发资源汇总 ![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)"],"sub_categories":["WePY开源组件"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Freact-inline-edit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafeiship%2Freact-inline-edit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Freact-inline-edit/lists"}