✨ Trying my hand at plugin-react
This commit is contained in:
parent
ad9f559dc0
commit
16c83a507a
55 changed files with 466 additions and 90 deletions
11
packages/plugin-react/src/index.js
Normal file
11
packages/plugin-react/src/index.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
import { version, name } from "../package.json";
|
||||
|
||||
export default {
|
||||
name: name,
|
||||
version: version,
|
||||
hooks: {
|
||||
postDraft: function(pattern, props) {
|
||||
console.log("postDraft hook in react plugin");
|
||||
}
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue