import { tailwindFontRegular } from "appConstants/fontFamilies.ts";
import classnames from "classnames";
import React from "react";
import { Text, TextProps } from "react-native";

import { TYPOGRAPHY_CLASSES } from "./InatText";

const List2 = ( props: TextProps ) => (
  <Text
    maxFontSizeMultiplier={2}
    className={classnames(
      TYPOGRAPHY_CLASSES,
      "text-sm",
      tailwindFontRegular
    )}
    // eslint-disable-next-line react/jsx-props-no-spreading
    {...props}
  />
);

export default List2;
