Co-authored-by: Razboy20 <Razboy20@users.noreply.github.com> Co-authored-by: Razboy20 <razboy20@gmail.com>
20 lines
496 B
TypeScript
20 lines
496 B
TypeScript
import React from 'react';
|
|
import styles from './ExtensionRoot.module.scss';
|
|
|
|
import '@unocss/reset/tailwind-compat.css';
|
|
import 'uno.css';
|
|
|
|
interface Props {
|
|
testId?: string;
|
|
}
|
|
/**
|
|
* A wrapper component for the extension elements that adds some basic styling to them
|
|
*/
|
|
export default function ExtensionRoot(props: React.PropsWithChildren<Props>) {
|
|
return (
|
|
<div className={styles.extensionRoot} data-testid={props.testId}>
|
|
{props.children}
|
|
</div>
|
|
);
|
|
}
|