/** * 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 type {ReactNode} from 'react'; import clsx from 'clsx'; import Translate from '@docusaurus/Translate'; import {usePlayground} from '@docusaurus/theme-live-codeblock/client'; import type {Props} from '@theme/Playground/Buttons/ResetButton'; import styles from './styles.module.css'; function Icon() { return ( ); } function Label() { return ( Reset ); } export default function ResetButton({className}: Props): ReactNode { const {reset} = usePlayground(); return ( ); }