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
-
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