styled.ts 522 B

12345678910111213141516171819202122232425
  1. import styled from 'styled-components';
  2. export const TextAreaContainer = styled('div')<{ top: string; left: string }>`
  3. position: absolute;
  4. top: ${(props) => props.top};
  5. left: ${(props) => props.left};
  6. z-index: 10;
  7. `;
  8. export const TextArea = styled.textarea`
  9. width: 244px;
  10. height: 200px;
  11. padding: 16px;
  12. box-sizing: border-box;
  13. background-color: #fceb9b;
  14. border-radius: 5px;
  15. border: none;
  16. outline: none;
  17. `;
  18. export const TrashCan = styled.div`
  19. position: absolute;
  20. bottom: 6px;
  21. right: 6px;
  22. `;