File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 11/** @jsx jsx */
22import { jsx } from '@emotion/core'
33import React , { useCallback , useState } from 'react'
4- import { RadioButton } from '@sumup/circuit-ui'
5- import styled from '@emotion/styled/macro'
4+ import { Toggle } from '@sumup/circuit-ui'
65import { useTranslation } from 'react-i18next'
76import tw from 'twin.macro'
87import useSWR , { mutate } from 'swr'
@@ -62,7 +61,11 @@ const Page: React.FC = () => {
6261 < div key = { mod } tw = "flex items-center justify-between p-3" >
6362 < div tw = "truncate leading-normal text-gray-700" > { mod } </ div >
6463 < div tw = "flex items-center" >
65- < RadioButton
64+ < Toggle
65+ noMargin
66+ label = ""
67+ labelChecked = "on"
68+ labelUnchecked = "off"
6669 disabled = { isLoading }
6770 checked = { isChecked ( mod ) }
6871 onChange = { ( ) => toggle ( mod , ! isChecked ( mod ) ) }
You can’t perform that action at this time.
0 commit comments