Skip to content

Commit db47329

Browse files
committed
Fix typos
1 parent 402ad62 commit db47329

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[![npm (scoped)](https://img.shields.io/npm/v/@zerodevx/svelte-toast)](https://www.npmjs.com/package/@zerodevx/svelte-toast)
22
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
33
[![Lines of code](https://img.shields.io/tokei/lines/github/zerodevx/svelte-toast?label=lines%20of%20code)](https://github.com/XAMPPRocky/tokei)
4-
[![Size minified](https://img.shields.io/bundlephobia/min/@zerodevx/svelte-toast?label=minified)](https://bundlephobia.com/)
5-
[![Size gzipped](https://img.shields.io/bundlephobia/minzip/@zerodevx/svelte-toast?label=gzipped)](https://bundlephobia.com/)
4+
[![Size minified](https://img.shields.io/bundlephobia/min/@zerodevx/svelte-toast@latest?label=minified)](https://bundlephobia.com/)
5+
[![Size gzipped](https://img.shields.io/bundlephobia/minzip/@zerodevx/svelte-toast@latest?label=gzipped)](https://bundlephobia.com/)
66

77
# svelte-toast
88

@@ -15,7 +15,7 @@ A lightweight, unopinionated and performant toast notification component for mod
1515
[of](https://github.com/zerodevx/svelte-toast/blob/master/src/index.js)
1616
[code](https://github.com/zerodevx/svelte-toast/blob/master/src/index.d.ts).
1717
Compiled (into UMD), it's only **17kb** minified (**7kb** gzipped) and can be used in Vanilla JS,
18-
as a Svelte component.
18+
or as a Svelte component.
1919

2020
Because a demo helps better than a thousand API docs: https://zerodevx.github.io/svelte-toast/
2121

@@ -327,9 +327,8 @@ toast.push('Hover me!', { pausable: true })
327327

328328
#### Send Svelte Component as a Message
329329

330-
To allow for complex UI or workflows, a Svelte component can be pushed instead of a standard message.
331-
Obviously, this works only if you're consuming `svelte-toast` as part of a larger Svelte project.
332-
To do so, push options with `component` property defined:
330+
To support complex UI or workflows, a Svelte component can be pushed instead of a standard message if
331+
you're using this package in a Svelte project. To do so, push options with `component` property defined:
333332

334333
```js
335334
import MyCustomSvelteComponent from './MyCustomSvelteComponent.svelte'

0 commit comments

Comments
 (0)