Part of Todo.js - Krutik

mail@pastecode.io avatar
unknown
javascript
3 years ago
300 B
11
Indexable
Never
<div className="bar-tag-container">
        <li className={`todo-item ${todo.completed ? "completed" : ""}`}>
          {isSpent && <p className="tag">Spent</p>}
          {isReceived && <p className="tag">Received</p>}
          <div className="others">${text}</div>
        </li>
      </div>