File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change 1- import React from 'react ' ;
1+ import { Details as DetailsGeneric } from '@docusaurus/theme-common/Details ' ;
22import clsx from 'clsx' ;
3- import { Details as DetailsGeneric } from '@docusaurus/theme-common/Details' ;
3+ import React from 'react' ;
4+
45import styles from './styles.module.css' ;
56// Should we have a custom details/summary comp in Infima instead of reusing
67// alert classes?
78const InfimaClasses = 'alert alert--info' ;
8- export default function Details ( { ...props } ) {
9- return (
10- < DetailsGeneric
11- { ...props }
12- className = { clsx ( InfimaClasses , styles . details , props . className ) }
13- />
14- ) ;
9+ export default function Details ( { ...props } ) {
10+ return (
11+ < DetailsGeneric
12+ { ...props }
13+ className = { clsx ( InfimaClasses , styles . details , props . className ) }
14+ />
15+ ) ;
1516}
You can’t perform that action at this time.
0 commit comments