mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 18:16:38 +08:00
18 lines
384 B
JavaScript
18 lines
384 B
JavaScript
import { TextControl } from '@wordpress/components';
|
|
|
|
import { Action } from '../Elements';
|
|
|
|
const ControlTextInput = ( { value, onChange, placeholder = '' } ) => {
|
|
return (
|
|
<Action>
|
|
<TextControl
|
|
className="ppcp-r-vertical-text-control"
|
|
placeholder={ placeholder }
|
|
value={ value }
|
|
onChange={ onChange }
|
|
/>
|
|
</Action>
|
|
);
|
|
};
|
|
|
|
export default ControlTextInput;
|