fbredius/storybook

View on GitHub
lib/components/src/typography/components.tsx

Summary

Maintainability
A
2 hrs
Test Coverage

components has 22 functions (exceeds 20 allowed). Consider refactoring.
Open

export const components = {
  h1: (props: DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>) => (
    <H1 {...nameSpaceClassNames(props, 'h1')} />
  ),
  h2: (props: DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>) => (
Severity: Minor
Found in lib/components/src/typography/components.tsx - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status