Skip to content

Button

Button is a widget that provides a button that you can use in your application.

Example

example_button.tsx
import { Button } from '@vixen-js/core-react';
export function ButtonExample() {
return (
<Button text="Your button" onClick={ () => console.log("Button clicked!")} />
);
}

Learn more about Button.