New static-value control

This commit is contained in:
Philipp Stracker 2025-01-22 16:05:54 +01:00
parent 7a71ff3657
commit b865ae82c7
No known key found for this signature in database
2 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,11 @@
import { Action } from '../Elements';
const ControlStaticValue = ( { value } ) => {
return (
<Action>
<div className="ppcp--static-value">{ value }</div>
</Action>
);
};
export default ControlStaticValue;

View file

@ -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';