diff options
author | Fred Carlsen <fred@sjelfull.no> | 2018-12-14 02:39:56 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-12-14 02:40:17 +0800 |
commit | e48887bc6f2ba158430a911d4d07376e65401f26 (patch) | |
tree | bb77e66eafe3ffc7d882de682902c251f58e2bab /packages/website/ts/@next/pages/instant/config_generator.tsx | |
parent | 52272cd2906b9d18a5ff77fde08854ea1c6e9e4c (diff) | |
download | dexon-sol-tools-e48887bc6f2ba158430a911d4d07376e65401f26.tar dexon-sol-tools-e48887bc6f2ba158430a911d4d07376e65401f26.tar.gz dexon-sol-tools-e48887bc6f2ba158430a911d4d07376e65401f26.tar.bz2 dexon-sol-tools-e48887bc6f2ba158430a911d4d07376e65401f26.tar.lz dexon-sol-tools-e48887bc6f2ba158430a911d4d07376e65401f26.tar.xz dexon-sol-tools-e48887bc6f2ba158430a911d4d07376e65401f26.tar.zst dexon-sol-tools-e48887bc6f2ba158430a911d4d07376e65401f26.zip |
Tweak slider
Diffstat (limited to 'packages/website/ts/@next/pages/instant/config_generator.tsx')
-rw-r--r-- | packages/website/ts/@next/pages/instant/config_generator.tsx | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/packages/website/ts/@next/pages/instant/config_generator.tsx b/packages/website/ts/@next/pages/instant/config_generator.tsx index 119311d94..d63ea118b 100644 --- a/packages/website/ts/@next/pages/instant/config_generator.tsx +++ b/packages/website/ts/@next/pages/instant/config_generator.tsx @@ -12,7 +12,7 @@ import { MultiSelect } from 'ts/components/ui/multi_select'; import { Spinner } from 'ts/components/ui/spinner'; import { Text } from 'ts/components/ui/text'; import { ConfigGeneratorAddressInput } from 'ts/@next/pages/instant/config_generator_address_input'; -import { FeePercentageSlider } from 'ts/pages/instant/fee_percentage_slider'; +import { FeePercentageSlider } from 'ts/@next/pages/instant/fee_percentage_slider'; import { colors } from 'ts/style/colors'; import { WebsitePaths } from 'ts/types'; import { constants } from 'ts/utils/constants'; @@ -303,21 +303,6 @@ export const ConfigGeneratorSection: React.StatelessComponent<ConfigGeneratorSec </Container> ); -const Mark = ({ checked }) => ( - <StyledMark checked={checked}> - {checked && ''} - </StyledMark> -); - -const StyledMark = styled.div` - border: 1px solid #ccc; - border-radius: 50%; - width: 16px; - height: 16px; - border-color: ${props => props.checked && colors.brandLight}; - background-color: ${props => props.checked && colors.brandLight}; -`; - ConfigGeneratorSection.defaultProps = { marginBottom: '30px', }; @@ -337,4 +322,4 @@ const CheckboxText = styled.span` const OptionalAction = styled(OptionalText)` cursor: pointer; -`;
\ No newline at end of file +`; |