mirror of
https://github.com/mue/mue.git
synced 2026-07-28 11:11:08 +02:00
perf: new tooltip and fix background on/off hot reload
This commit is contained in:
12
src/components/helpers/tooltip/Tooltip.jsx
Normal file
12
src/components/helpers/tooltip/Tooltip.jsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import React from 'react';
|
||||
|
||||
import './tooltip.scss';
|
||||
|
||||
export default function Tooltip(props) {
|
||||
return (
|
||||
<div className='tooltip'>
|
||||
{props.children}
|
||||
<span className='tooltipTitle'>{props.title}</span>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user