/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import Toggle from 'react-toggle'; import useDocusaurusContext from '@docusaurus/useDocusaurusContext'; import classnames from 'classnames'; import styles from './styles.module.css'; const Moon = () => ; const Sun = () => ; export default function (props) { const {isClient} = useDocusaurusContext(); return ( , unchecked: , }} {...props} /> ); }