* docs: add jsdoc * feat: change enums to as const objects * chore(test): add themeColors.test.ts * fix: fix tests and bugs with strings.ts util * fix: path alias imports and tsconfig file bug * fix: remove --max-warnings 0
21 lines
497 B
TypeScript
21 lines
497 B
TypeScript
import '@unocss/reset/tailwind-compat.css';
|
|
import 'uno.css';
|
|
|
|
import React from 'react';
|
|
|
|
import styles from './ExtensionRoot.module.scss';
|
|
|
|
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>
|
|
);
|
|
}
|