16 lines
449 B
TypeScript
16 lines
449 B
TypeScript
import * as React from "react";
|
|
|
|
const ThemeIcon = ({ darkTheme }: any) => (
|
|
<svg
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
style={{ background: darkTheme ? "#191919" : "#E6E6E6" }}
|
|
height="1.5em"
|
|
width="1.5em"
|
|
viewBox="0 0 100 100"
|
|
>
|
|
<circle cx="50" cy="50" r="40" fill={darkTheme ? "#E6E6E6" : "#191919"} />
|
|
<circle cx="60" cy="50" r="37" fill={darkTheme ? "#191919" : "#E6E6E6"} />
|
|
</svg>
|
|
);
|
|
|
|
export default ThemeIcon;
|