mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-07 19:54:15 +08:00
✨ New static-value control
This commit is contained in:
parent
7a71ff3657
commit
b865ae82c7
2 changed files with 12 additions and 0 deletions
|
@ -0,0 +1,11 @@
|
|||
import { Action } from '../Elements';
|
||||
|
||||
const ControlStaticValue = ( { value } ) => {
|
||||
return (
|
||||
<Action>
|
||||
<div className="ppcp--static-value">{ value }</div>
|
||||
</Action>
|
||||
);
|
||||
};
|
||||
|
||||
export default ControlStaticValue;
|
|
@ -6,4 +6,5 @@ export { default as RadioSettingsBlock } from './RadioSettingsBlock';
|
|||
export { default as PaymentMethodsBlock } from './PaymentMethodsBlock';
|
||||
export { default as PaymentMethodItemBlock } from './PaymentMethodItemBlock';
|
||||
|
||||
export { default as ControlStaticValue } from './ControlStaticValue';
|
||||
export { default as ControlTextInput } from './ControlTextInput';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue