File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ Here are examples of how to use the FancySwitch component with different types o
3030
3131``` jsx
3232import React , { useState } from ' react'
33- import FancySwitch from ' fancy-switch'
33+ import FancySwitch from ' @omit/react- fancy-switch'
3434
3535const StringExample = () => {
3636 const [selectedOption , setSelectedOption ] = useState (' apple' )
@@ -54,7 +54,7 @@ const StringExample = () => {
5454
5555``` jsx
5656import React , { useState } from ' react'
57- import FancySwitch from ' fancy-switch'
57+ import FancySwitch from ' @omit/react- fancy-switch'
5858
5959const DefaultObjectExample = () => {
6060 const [selectedOption , setSelectedOption ] = useState (' option1' )
@@ -81,7 +81,7 @@ const DefaultObjectExample = () => {
8181
8282``` jsx
8383import React , { useState } from ' react'
84- import FancySwitch from ' fancy-switch'
84+ import FancySwitch from ' @omit/react- fancy-switch'
8585
8686const CustomObjectExample = () => {
8787 const [selectedOption , setSelectedOption ] = useState (1 )
You can’t perform that action at this time.
0 commit comments