mirror of
https://github.com/Snigdha-OS/documentation.git
synced 2025-12-24 07:13:51 +01:00
22 lines
676 B
JavaScript
22 lines
676 B
JavaScript
/**
|
|
* 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 {Details as DetailsGeneric} from '@docusaurus/theme-common/Details';
|
|
import styles from './styles.module.css';
|
|
// Should we have a custom details/summary comp in Infima instead of reusing
|
|
// alert classes?
|
|
const InfimaClasses = 'alert alert--info';
|
|
export default function Details({...props}) {
|
|
return (
|
|
<DetailsGeneric
|
|
{...props}
|
|
className={clsx(InfimaClasses, styles.details, props.className)}
|
|
/>
|
|
);
|
|
}
|