ReactJS
15 строк · 696.0 Байт
1import React from 'react';
2import styles from './commentblock.css';
3
4export function CommentBlock() {
5return (
6<button className={styles.commentsButton}>
7<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
8<path
9d="M12.75 0H1.41667C0.6375 0 0 0.6375 0 1.41667V9.91667C0 10.6958 0.6375 11.3333 1.41667 11.3333H11.3333L14.1667 14.1667V1.41667C14.1667 0.6375 13.5292 0 12.75 0ZM11.3333 8.5H2.83333V7.08333H11.3333V8.5ZM11.3333 6.375H2.83333V4.95833H11.3333V6.375ZM11.3333 4.25H2.83333V2.83333H11.3333V4.25Z"
10fill="#999999"/>
11</svg>
12<span className={styles.commentsNumber}>13</span>
13</button>
14);
15}
16