UNPKG

testeranto

Version:

the AI powered BDD test framework for typescript projects

9 lines (8 loc) 460 B
import React from 'react'; export const SVGAttributeField = ({ label, value, onChange, type = 'text' }) => { return (React.createElement("div", { style: { marginBottom: '8px' } }, React.createElement("label", { style: { display: 'block', marginBottom: '4px' } }, label, ":"), React.createElement("input", { type: type, value: value || '', onChange: (e) => onChange(e.target.value), style: { width: '100%' } }))); };