import React, { useEffect } from 'react';
import './index.css';

const tag = (props: any) => {
  console.log('props =>', props);

  useEffect(() => {}, []);

  return (
    <h3 className="tag" id={props.id} data-tag={props.tag}>
      {props.children}
    </h3>
  );
};

export default tag;
