story-generator/src/components/ui/process-step.tsx
2025-01-11 09:46:07 -03:00

34 lines
759 B
TypeScript

import React from 'react';
interface ProcessStepProps {
number: number;
title: string;
description: string;
}
export function ProcessStep({
number,
title,
description,
}: ProcessStepProps) {
return (
<div className="flex items-start gap-6">
{/* Número */}
<div className="flex-shrink-0">
<div className="w-14 h-14 rounded-full bg-purple-600 flex items-center justify-center text-white text-2xl font-bold">
{number}
</div>
</div>
{/* Conteúdo */}
<div className="flex-1">
<h3 className="text-2xl font-bold text-gray-900 mb-3">
{title}
</h3>
<p className="text-lg text-gray-600">
{description}
</p>
</div>
</div>
);
}