Last active
September 22, 2019 14:02
-
-
Save vanaf1979/dccbb4c9594edfb284740d4d4b0ddd15 to your computer and use it in GitHub Desktop.
Gist for my tutorial: Building a Gutenberg sidebar plugin Part 4: Adding form components. https://vanaf1979.nl/building-a-gutenberg-sidebar-plugin-part-4-adding-form-components/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class BrowserTitleField extends React.Component { | |
... | |
render() { | |
return ( | |
<div className="metatags-browser-title-field"> | |
<TextControl | |
label={__("Brwoser title", "metatags")} | |
value={this.props.metaFieldValue} | |
onChange={this.props.setMetaFieldValue} | |
/> | |
</div> | |
) | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment