import { BlockQuote } from './Content' import C from '../classes' import React from 'react' type ContainerProps = { children: React.ReactNode type: string } const COLOR_BG: Record = { error: C.backgroundFillRedLight, info: C.backgroundFillBlueLight, try: C.backgroundFillGreenLight, warn: C.backgroundFillYellowLight, } const COLOR_FG: Record = { error: C.textFillLight, info: C.textFillDark, try: C.textFillDark, warn: C.textFillDark, } function Container({ children, type }: ContainerProps) { return (
{children}
) } type NoteProps = { text: React.ReactNode type?: string } export default function Note({ text, type = 'info' }: NoteProps) { return {text} }