chore: lint-format-docs-tests-bugfixes (#105)
* 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
This commit is contained in:
@@ -1,11 +1,19 @@
|
||||
import Text from '@views/components/common/Text/Text';
|
||||
import clsx from 'clsx';
|
||||
import React from 'react';
|
||||
import Text from '../../common/Text/Text';
|
||||
|
||||
interface DescriptionProps {
|
||||
lines: string[];
|
||||
}
|
||||
|
||||
/**
|
||||
* Renders the description component.
|
||||
*
|
||||
* @component
|
||||
* @param {DescriptionProps} props - The component props.
|
||||
* @param {string[]} props.lines - The lines of text to render.
|
||||
* @returns {JSX.Element} The rendered description component.
|
||||
*/
|
||||
const Description: React.FC<DescriptionProps> = ({ lines }: DescriptionProps) => {
|
||||
const keywords = ['prerequisite', 'restricted'];
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user