Start work on todo list support for dashboard
This commit is contained in:
23
reminder-dashboard/src/components/Todo/index.tsx
Normal file
23
reminder-dashboard/src/components/Todo/index.tsx
Normal file
@ -0,0 +1,23 @@
|
||||
import { Todo as TodoT } from "../../api";
|
||||
|
||||
type Props = {
|
||||
todo: TodoT;
|
||||
};
|
||||
|
||||
export const Todo = ({ todo }: Props) => {
|
||||
return (
|
||||
<div>
|
||||
<textarea value={todo.value} onInput={() => null} />
|
||||
<button onClick={() => null} class="btn save-btn">
|
||||
<span class="icon">
|
||||
<i class="fa fa-save"></i>
|
||||
</span>
|
||||
</button>
|
||||
<button onClick={() => null} class="btn delete-btn">
|
||||
<span class="icon">
|
||||
<i class="fa fa-trash"></i>
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
);
|
||||
};
|
Reference in New Issue
Block a user