-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0fbdb5a
commit 4fe7a73
Showing
9 changed files
with
142 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,36 @@ | ||
import { Box } from '@chakra-ui/react'; | ||
|
||
export const renderTrack = ({ ...props }) => { | ||
const trackStyle = { | ||
position: 'absolute', | ||
maxWidth: '100%', | ||
width: 6, | ||
transition: 'opacity 200ms ease 0s', | ||
opacity: 0, | ||
background: 'transparent', | ||
bottom: 2, | ||
top: 2, | ||
borderRadius: 3, | ||
right: 0 | ||
} as const; | ||
return <div style={ trackStyle } {...props} />; | ||
const trackStyle = { | ||
position: 'absolute', | ||
maxWidth: '100%', | ||
width: 6, | ||
transition: 'opacity 200ms ease 0s', | ||
opacity: 0, | ||
background: 'transparent', | ||
bottom: 2, | ||
top: 2, | ||
borderRadius: 3, | ||
right: 0, | ||
} as const; | ||
return <div style={trackStyle} {...props} />; | ||
}; | ||
export const renderThumb = ({ ...props }) => { | ||
const thumbStyle = { | ||
borderRadius: 15, | ||
background: 'rgba(222, 222, 222, .1)' | ||
} as const | ||
return <div style={ thumbStyle } {...props} />; | ||
export const renderThumb = ({ ...props }) => { | ||
const thumbStyle = { | ||
borderRadius: 15, | ||
background: 'rgba(222, 222, 222, .1)', | ||
} as const; | ||
return <div style={thumbStyle} {...props} />; | ||
}; | ||
export const renderView = ( ) => { | ||
const viewStyle = { | ||
marginBottom: -22 | ||
}as const; | ||
return ( | ||
<Box height="100%" me={{ base: '0px !important', lg: '-16px !important' }} style={ viewStyle } /> | ||
); | ||
export const renderView = () => { | ||
const viewStyle = { | ||
marginBottom: -22, | ||
} as const; | ||
return ( | ||
<Box | ||
height="100%" | ||
me={{ base: '0px !important', lg: '-16px !important' }} | ||
style={viewStyle} | ||
/> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.