We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3630c5 commit 085fbadCopy full SHA for 085fbad
src/App.jsx
@@ -1,8 +1,9 @@
1
import TodoList from "./components/TodoList"
2
-
+import Title from "./components/Title"
3
function App() {
4
return (
5
<div className="w-full min-h-screen bg-gray-900">
6
+ <Title title="Mis Tareas Pendientes" />
7
<TodoList />
8
</div>
9
)
src/components/Title.jsx
@@ -0,0 +1,9 @@
+const Title = ({ title }) => {
+ return (
+ <h1 className="text-2xl font-bold text-white text-center pt-15">
+ {title}
+ </h1>
+ )
+}
+
+export default Title
0 commit comments