@cimpress/react-components
Version:
React components to support the MCP styleguide
11 lines • 454 B
JavaScript
import React, { useState } from 'react';
import { TextArea } from '@cimpress/react-components';
function TextAreaExample() {
const [text, setText] = useState('');
const onInputChange = (e) => {
setText(e.target.value);
};
return React.createElement(TextArea, { name: "description", label: "Description", value: text, onChange: e => onInputChange(e) });
}
export default TextAreaExample;
//# sourceMappingURL=textAreaExample.js.map