mirror of
https://github.com/meshtastic/meshtastic.git
synced 2024-12-31 16:37:32 -08:00
14 lines
347 B
TypeScript
14 lines
347 B
TypeScript
import React from "react";
|
|
|
|
export interface ColorModeProps {
|
|
children: React.ReactNode;
|
|
}
|
|
|
|
export const Dark = ({ children }: ColorModeProps): JSX.Element => {
|
|
return <div className="hideLight">{children}</div>;
|
|
};
|
|
|
|
export const Light = ({ children }: ColorModeProps): JSX.Element => {
|
|
return <div className="hideDark">{children}</div>;
|
|
};
|