UNPKG

@infinityfx/fluid

Version:

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

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