mirror of
https://github.com/lordmathis/lemma.git
synced 2025-11-08 00:44:22 +00:00
15 lines
344 B
TypeScript
15 lines
344 B
TypeScript
import React from 'react';
|
|
import { Accordion, Title } from '@mantine/core';
|
|
|
|
interface AccordionControlProps {
|
|
children: React.ReactNode;
|
|
}
|
|
|
|
const AccordionControl: React.FC<AccordionControlProps> = ({ children }) => (
|
|
<Accordion.Control>
|
|
<Title order={4}>{children}</Title>
|
|
</Accordion.Control>
|
|
);
|
|
|
|
export default AccordionControl;
|