Skip to content

Commit faedbdd

Browse files
committed
docs: update README.md
1 parent c4d2c4b commit faedbdd

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@ Flatpickr is a lightweight and powerful datetime picker. Svelte Flatpickr Plus i
2323

2424
Svelte Flatpickr Plus coming with 1 powerful action and you can name it what ever you want.
2525

26-
```javascript
27-
<script>import name_it_yourself from 'svelte-flatpickr-plus';</script>
26+
```html
27+
<script>
28+
import your_action_name from 'svelte-flatpickr-plus';
29+
</script>
2830
```
2931

3032
## Installation
@@ -41,7 +43,7 @@ you can import any actions and passing options to that actions that all you need
4143

4244
example for build date picker element
4345

44-
```javascript
46+
```html
4547
<script>
4648
import svlatepickr from 'svelte-flatpickr-plus';
4749
</script>

0 commit comments

Comments
 (0)