rw.props
Accessing Properties
const transformHook = (rw) => {
const { title, isVisible, padding, backgroundColor } = rw.props;
// Use the values
console.log(title); // "My Component"
console.log(isVisible); // true
console.log(padding); // 16
};
exports.transformHook = transformHook;Property Types
Control Type
JavaScript Type
Example Value
Example: Transforming Properties
All Properties Available
Last updated
Was this helpful?

