mirror of
https://github.com/lordmathis/lemma.git
synced 2025-11-08 16:54:21 +00:00
Migrate workspace settings to ts
This commit is contained in:
14
app/src/components/settings/AccordionControl.tsx
Normal file
14
app/src/components/settings/AccordionControl.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user