MCPcopy Create free account
hub / github.com/PaulleDemon/PyUIBuilder / setWidgetInnerStyle

Function setWidgetInnerStyle

src/canvas/widgets/base.js:785–794  ·  view source on GitHub ↗

* * @param {string} key - The string in react Style format * @param {string} value - Value of the style

(key, value)

Source from the content-addressed store, hash-verified

783 * @param {string} value - Value of the style
784 */
785 setWidgetInnerStyle(key, value) {
786
787 this.setState((prevState) => ({
788 widgetInnerStyling: {
789 ...prevState.widgetInnerStyling,
790 [key]: value
791 }
792 }))
793
794 }
795
796 /**
797 *

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected