1.0.4 • Published 2 years ago

@iro/toast v1.0.4

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

Toast

A toast component implemented based on Svelte.

DEMO

Usage

install

pnpm i @iro/toast

svelte

import {Toast, toast} from '@iro/toast'

// +page.svelte
<button on:click={() => toast.show('Wow!!!')}>toast</button>

// +layout.svelte
<Toast/>
<Toast --color="white" --background-color="green" --icon-size="20px" auto={false}/>
<Toast --color="white" --background-color="green" --icon-size="20px" closeable={false} --icon-color="yellow"/>
1.0.4

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago