Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 715 Bytes

BUTTOM.md

File metadata and controls

27 lines (20 loc) · 715 Bytes

Button

import { Button } from "@mpiorowski/svelte-init";

Usage

<Button>Save</Button>
<Button type="ghost" loading={true} disabled={false} link={true}>Save</Button>
Prop Values Default
type primary, error, ghost primary
loading boolean false
disabled boolean false
form string ""
link boolean false

If form prop is set, the button type is changed to submit.