This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import type { FC } from 'react'; | |
import { useEffect, useId, useState } from 'react'; | |
type Props = { | |
children: ReactNode; | |
content: ReactNode; | |
}; | |
export const Tooltip: FC<Props> = ({ children, content }) => { | |
const [open, setOpen] = useState(false); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class RGB { | |
red: number; | |
green: number; | |
bule: number; | |
static MAX_COLOR_INT = 255; | |
constructor(color: [number, number, number]) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import inquirer from 'inquirer'; | |
import fs from 'node:fs'; | |
import path from 'node:path'; | |
import { spawn } from 'node:child_process'; | |
/** 設定情報 */ | |
const config = { | |
/** スライドを格納しているディレクトリ */ | |
slideRoot: 'slides', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"excludeFiles": ["**/node_modules/**/*"], | |
"rules": { | |
"attr-duplication": true, | |
"character-reference": true, | |
"class-naming": "/[a-z]+(__[a-z]+)?/", | |
"deprecated-attr": true, | |
"deprecated-element": true, | |
"disallowed-element": true, | |
"doctype": true, |