mirror of
https://github.com/meshtastic/meshtastic.git
synced 2025-03-05 04:39:13 -08:00
14 lines
352 B
TypeScript
14 lines
352 B
TypeScript
import type 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>;
|
|
};
|