UNPKG

@fork2e/umbrella

Version:

☂️ Umbrella UI React components based on @shadcn-ui

3 lines (2 loc) 775 B
import*as e from"react";import{c as i}from"./utils.js";const l=e.forwardRef((({className:l,type:o,...r},t)=>{const s="file"===o?"":"color"===o?"absolute bottom-0 right-0 opacity-0":"rounded-ui border border-black/10 bg-white";return e.createElement("input",{type:o,className:i("flex w-full px-4 py-3 text-sm ring-offset-white file:border-0 file:font-bold file:bg-primary file:text-white file:px-8 file:py-3 file:font-raleway file:rounded-ui file:mr-4 file:cursor-pointer file:disabled:cursor-not-allowed placeholder:text-black/50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",s,l),ref:t,...r})}));l.displayName="Input";export{l as I}; //# sourceMappingURL=input.js.map