/** * 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 clsx from 'clsx'; import {ThemeClassNames} from '@docusaurus/theme-common'; import styles from './styles.module.css'; function AdmonitionContainer({type, className, children}) { return (
{children}
); } function AdmonitionHeading({icon, title}) { return (
{icon} {title}
); } function AdmonitionContent({children}) { return children ? (
{children}
) : null; } export default function AdmonitionLayout(props) { const {type, icon, title, children, className} = props; return ( {children} ); }