UNPKG

@infinityfx/fluid

Version:

React UI library, using zero-runtime CSS-in-JS.

3 lines (2 loc) 547 B
import{useMemo as e}from"react";const t={name:0,type:1,capture:2,checked:3,defaultChecked:4,value:5,defaultValue:6,disabled:7,required:8,placeholder:9,readOnly:10,onChange:11,onFocus:12,onBlur:13,step:14,min:15,minLength:16,max:17,maxLength:18,pattern:19,accept:20,autoComplete:21,autoFocus:22,multiple:23,enterKeyHint:24,inputMode:25,"aria-label":26,"aria-labelledby":27};function a(a){return e((()=>{const e={},n={};for(const r in a)r in t?e[r]=a[r]:n[r]=a[r];return[e,n]}),[a])}export{a as default}; //# sourceMappingURL=use-input-props.js.map