Skip to content

Commit 7408ae4

Browse files
authored
Update README.md
1 parent 2489880 commit 7408ae4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Here are examples of how to use the FancySwitch component with different types o
3030

3131
```jsx
3232
import React, { useState } from 'react'
33-
import FancySwitch from 'fancy-switch'
33+
import FancySwitch from '@omit/react-fancy-switch'
3434

3535
const StringExample = () => {
3636
const [selectedOption, setSelectedOption] = useState('apple')
@@ -54,7 +54,7 @@ const StringExample = () => {
5454

5555
```jsx
5656
import React, { useState } from 'react'
57-
import FancySwitch from 'fancy-switch'
57+
import FancySwitch from '@omit/react-fancy-switch'
5858

5959
const DefaultObjectExample = () => {
6060
const [selectedOption, setSelectedOption] = useState('option1')
@@ -81,7 +81,7 @@ const DefaultObjectExample = () => {
8181

8282
```jsx
8383
import React, { useState } from 'react'
84-
import FancySwitch from 'fancy-switch'
84+
import FancySwitch from '@omit/react-fancy-switch'
8585

8686
const CustomObjectExample = () => {
8787
const [selectedOption, setSelectedOption] = useState(1)

0 commit comments

Comments
 (0)