@responsive-ui/button
A button component of responsive-ui.
Install
npm install @responsive-ui/button
or
yarn add @responsive-ui/button
Properties
type ButtonProps = {
title?: string;
name?: string;
type: "button" | "submit" | "reset" = "button";
class? string;
disabled?: boolean;
form?: string;
style?: string;
};
Usage
<script>
import Button from '@responsive-ui/button';
const onClick = () => {
console.log("clicked!");
}
</script>
<Button title="Click me" on:click={onClick}></Button>
License
@responsive-ui/button is 100% free and open-source, under the MIT license.
Big Thanks To
Thanks to these awesome companies for their support of Open Source developers ❤