- Crie o arquivo
jsconfig.json
na raiz do projeto e insira a configuração abaixo.
{
"compilerOptions": {
"baseUrl": "src"
}
}
// Reference (Thanks!) | |
// https://dev.to/vtrpldn/how-to-make-an-extremely-reusable-tooltip-component-with-react-and-nothing-else-3pnk | |
import { useState } from 'react' | |
import PropTypes from 'prop-types' | |
import * as S from './styles' | |
const Tooltip = ({ delay, children, direction, content }) => { | |
let timeout |
jsconfig.json
na raiz do projeto e insira a configuração abaixo.{
"compilerOptions": {
"baseUrl": "src"
}
}
[global_config] | |
[keybindings] | |
[layouts] | |
[[default]] | |
[[[child1]]] | |
parent = window0 | |
type = Terminal | |
[[[window0]]] | |
parent = "" | |
type = Window |
# editorconfig.org | |
root = true | |
[*] | |
indent_style = spaces | |
indent_size = 2 | |
end_of_line = lf | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = true |
{ | |
"editor.minimap.enabled": false, | |
"editor.autoClosingBrackets": "always", | |
"editor.fontFamily": "Fira Code", | |
"editor.fontSize": 16, | |
"editor.lineHeight": 24, | |
"editor.fontLigatures": true, | |
"editor.formatOnPaste": true, | |
"editor.formatOnSave": true, | |
"editor.parameterHints.enabled": false, |