UNPKG

zigbee2mqtt-windfront

Version:

[![Version](https://img.shields.io/npm/v/zigbee2mqtt-windfront.svg)](https://npmjs.org/package/zigbee2mqtt-windfront) [![CI](https://github.com/Nerivec/zigbee2mqtt-windfront/actions/workflows/ci.yml/badge.svg)](https://github.com/Nerivec/zigbee2mqtt-windf

2 lines (1 loc) 431 B
import{r as i,j as s}from"./index-C9teBVht.js";const c=i.memo(e=>{const{label:l,detail:t,onChange:a,onBlur:n,...r}=e;return s.jsxs("fieldset",{className:"fieldset",children:[l&&s.jsxs("legend",{className:"fieldset-legend",children:[l,e.required?" *":""]}),s.jsx("input",{className:`input min-w-xs${e.pattern||e.required?" validator":""}`,onChange:a,onBlur:n,...r}),t&&s.jsx("p",{className:"label",children:t})]})});export{c as I};