mirror of
https://github.com/lucasrcsantana/story-generator.git
synced 2025-12-18 14:27:51 +00:00
34 lines
759 B
TypeScript
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>
|
|
);
|
|
}
|