mirror of
https://github.com/lukevella/rallly.git
synced 2025-04-29 18:26:34 +02:00
16 lines
268 B
TypeScript
16 lines
268 B
TypeScript
import React from "react";
|
|
|
|
export interface StepProps {
|
|
title: string;
|
|
}
|
|
|
|
const Step: React.FunctionComponent<StepProps> = ({ title, children }) => {
|
|
return (
|
|
<div>
|
|
<div>{title}</div>
|
|
<div>{children}</div>
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default Step;
|