Skip to content

Commit

Permalink
Merge branch 'main' of github.com:Aslam97/react-fancy-radio
Browse files Browse the repository at this point in the history
  • Loading branch information
Aslam97 committed Sep 7, 2024
2 parents 8356f60 + 7408ae4 commit 3d0ce9e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Here are examples of how to use the FancySwitch component with different types o

```jsx
import React, { useState } from 'react'
import FancySwitch from 'fancy-switch'
import FancySwitch from '@omit/react-fancy-switch'

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

```jsx
import React, { useState } from 'react'
import FancySwitch from 'fancy-switch'
import FancySwitch from '@omit/react-fancy-switch'

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

```jsx
import React, { useState } from 'react'
import FancySwitch from 'fancy-switch'
import FancySwitch from '@omit/react-fancy-switch'

const CustomObjectExample = () => {
const [selectedOption, setSelectedOption] = useState(1)
Expand Down

0 comments on commit 3d0ce9e

Please sign in to comment.