![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@beisen-phoenix/mobile-input
Advanced tools
表单组件:单行文本。
用于表单中的单行文本字段
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
labelText | 标题 | string | 无 |
value | 指定输入框当前值 | any | 无 |
defaultValue | 输入框初始值 | any | 无 |
placeholder | 输入框没有值时的帮助文字 | string | 点击填写 |
required | 是否必填 | boolean | false |
readOnly | 是否只读 | boolean | false |
rightEl | 右侧区域元素 用于显示单位或者图标 | string/React.ReactNode | 无 |
hasError | 当前字段验证是否出现错误 用于显示底部错误红线 | boolean | false |
labelIcon | 自定义字段图标 展示于标题右侧 大小为 16px*16px | React.ReactNode | 无 |
多语言
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
translation | 语言包 用于翻译组件内置常量 | {inputHolder: string} | {inputHolder: '点击填写'} |
事件
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
onFocus | 输入框获取焦点时的回调 | (e: React.FocusEvent) => void | 无 |
onChange | 输入框内容变化时的回调 | (e: React.ChangeEvent) => void | 无 |
onBlur | 输入框失去焦点时的回调 | (e: React.FocusEvent) => void | 无 |
FAQs
The npm package @beisen-phoenix/mobile-input receives a total of 0 weekly downloads. As such, @beisen-phoenix/mobile-input popularity was classified as not popular.
We found that @beisen-phoenix/mobile-input demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.