import React from 'react'; const Input = ({ value = '', type = 'text', showIcon = false, onChange }) => { const containerStyle = { display: 'flex', alignItems: 'center', gap: '4px', padding: '4px 8px', border: '1px solid var(--figma-color-border)', borderRadius: '4px', backgroundColor: 'var(--figma-color-bg)', color: 'var(--figma-color-text)', fontSize: '12px', fontFamily: 'Inter, sans-serif' }; const inputStyle = { border: 'none', outline: 'none', backgroundColor: 'transparent', color: 'inherit', fontSize: 'inherit', fontFamily: 'inherit', width: '100%', minWidth: '0' }; const iconStyle = { color: 'var(--figma-color-text-secondary)', fontSize: '10px', fontWeight: 'bold' }; const handleInputChange = (event) => { if (onChange) { onChange(event.target.value); } }; return (
); }; export default Input;