<commit_before>import React, { FC } from 'react';
import { transparentize } from 'polished';
import { styled } from '@storybook/theming';

export interface SectionRowProps {
  section: string;
}

const SectionTh = styled.th<SectionRowProps>(({ theme }) => ({
  letterSpacing: '0.35em',
  textTransform: 'uppercase',
  fontWeight: theme.typography.weight.black,
  fontSize: theme.typography.size.s1 - 1,
  lineHeight: '24px',
  color:
    theme.base === 'light'
      ? transparentize(0.4, theme.color.defaultText)
      : transparentize(0.6, theme.color.defaultText),
  background: `${theme.background.app} !important`,
}));

export const SectionRow: FC<SectionRowProps> = ({ section }) => (<commit_msg>Fix types<commit_after>import React, { FC } from 'react';
import { transparentize } from 'polished';
import { styled } from '@storybook/theming';

export interface SectionRowProps {
  section: string;
}

const SectionTh = styled.th<{}>(({ theme }) => ({
  letterSpacing: '0.35em',
  textTransform: 'uppercase',
  fontWeight: theme.typography.weight.black,
  fontSize: theme.typography.size.s1 - 1,
  lineHeight: '24px',
  color:
    theme.base === 'light'
      ? transparentize(0.4, theme.color.defaultText)
      : transparentize(0.6, theme.color.defaultText),
  background: `${theme.background.app} !important`,
}));

export const SectionRow: FC<SectionRowProps> = ({ section }) => (
{'fraction_non_alphanumeric': 0.1583873290136789, 'fraction_numerical': 0.01583873290136789, 'mean_word_length': 4.604838709677419, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2762216', 'n_tokens_mistral': 450, 'n_tokens_neox': 444, 'n_words': 97}