import React from "react";

import Icon from "metabase/components/Icon.jsx";

const NightModeIcon = (props) =>
    <Icon name={props.isNightMode ? "moon" : "sun"} {...props} />

export default NightModeIcon;

import React from "react";

import Icon from "metabase/components/Icon.jsx";

const NightModeIcon = (props) =>
    <Icon name={props.isNightMode ? "sun" : "moon"} {...props} />

export default NightModeIcon;

Swap sun/moon in night mode icon
Swap sun/moon in night mode icon
