Replies: 1 comment 2 replies
-
Hi, @ManaliV |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
export const myButton = define(MyButton, 'MyButton')
.name('My Button')
.category('Custom')
.props({
// button text
children: string.named('Caption').default('Button'),
// сallback fired when the button is clicked.
onClick: event,
})
Beta Was this translation helpful? Give feedback.
All reactions