OperationCode/front-end

View on GitHub
components/Cards/ValueCard/ValueCard.tsx

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
import Card from 'components/Cards/Card/Card';

export type ValueCardPropsType = {
  name: string;
  description: string;
};

function ValueCard({ description, name }: ValueCardPropsType) {
  return (
    <Card
      className="!justify-start max-w-[400px] h-[400px] p-8 overflow-y-auto"
      hasAnimationOnHover={false}
    >
      <h3 className="text-center underline">{name}</h3>
      <p>{description}</p>
    </Card>
  );
}

export default ValueCard;