-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #96 from Elizabethhub/feature/setting-modal
Feature/setting modal
- Loading branch information
Showing
6 changed files
with
109 additions
and
56 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,24 @@ | ||
const RadioChecked = (props) => ( | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
width={14} | ||
height={14} | ||
fill="none" | ||
{...props} | ||
> | ||
<circle cx={7} cy={7} r={6.5} fill="#fff" stroke="#407BFF" /> | ||
<circle cx={7} cy={7} r={3} fill="#407BFF" /> | ||
</svg> | ||
); | ||
import { useTheme } from 'styled-components'; | ||
|
||
const RadioChecked = (props) => { | ||
const theme = useTheme(); | ||
return ( | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
width={14} | ||
height={14} | ||
fill="none" | ||
{...props} | ||
> | ||
<circle | ||
cx={7} | ||
cy={7} | ||
r={6.5} | ||
fill={theme.settingRadioButtonFill} | ||
stroke={theme.settingRadioButtonStroke} | ||
/> | ||
<circle cx={7} cy={7} r={3} fill={theme.settingRadioButtonStroke} /> | ||
</svg> | ||
); | ||
}; | ||
export default RadioChecked; |
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,12 +1,24 @@ | ||
const RadioUnChecked = (props) => ( | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
width={14} | ||
height={14} | ||
fill="none" | ||
{...props} | ||
> | ||
<circle cx={7} cy={7} r={6.5} fill="#fff" stroke="#407BFF" /> | ||
</svg> | ||
); | ||
import { useTheme } from 'styled-components'; | ||
|
||
const RadioUnChecked = (props) => { | ||
const theme = useTheme(); | ||
return ( | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
width={14} | ||
height={14} | ||
fill="none" | ||
{...props} | ||
> | ||
<circle | ||
cx={7} | ||
cy={7} | ||
r={6.5} | ||
fill={theme.settingRadioButtonFill} | ||
stroke={theme.settingRadioButtonStroke} | ||
/> | ||
</svg> | ||
); | ||
}; | ||
|
||
export default RadioUnChecked; |
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,18 +1,23 @@ | ||
import { useTheme } from 'styled-components'; | ||
|
||
// import * as React from "react" | ||
const Upload = (props) => ( | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
width={14} | ||
height={14} | ||
fill="none" | ||
{...props} | ||
> | ||
<path | ||
stroke="#407BFF" | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
d="M1 10v1.5A1.5 1.5 0 0 0 2.5 13h9a1.5 1.5 0 0 0 1.5-1.5V10M4 4l3-3m0 0 3 3M7 1v9" | ||
/> | ||
</svg> | ||
); | ||
const Upload = (props) => { | ||
const theme = useTheme(); | ||
return ( | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
width={14} | ||
height={14} | ||
fill="none" | ||
{...props} | ||
> | ||
<path | ||
stroke={theme.settingUploadSvg} | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
d="M1 10v1.5A1.5 1.5 0 0 0 2.5 13h9a1.5 1.5 0 0 0 1.5-1.5V10M4 4l3-3m0 0 3 3M7 1v9" | ||
/> | ||
</svg> | ||
); | ||
}; | ||
export default Upload; |