Skip to content

Commit

Permalink
🧹 added label to SlideToggle
Browse files Browse the repository at this point in the history
  • Loading branch information
Ansub committed May 20, 2024
1 parent b07ba7e commit 425b0de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/showcase/components/toggle/SlideToggle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ const Label: React.FC<LabelProps> = ({ children, isOn }) => {

const SlideToggle: React.FC<SlideToggleProps> = ({
onToggle,
offLabel = 'OFF',
onLabel = 'ON',
offLabel = 'GO LIVE',
onLabel = 'LIVE NOW',
isToggled = true,
}) => {
const [toggled, setToggled] = useState(isToggled || false)
Expand Down

0 comments on commit 425b0de

Please sign in to comment.