import { Separator, ShortcutKey } from "components/Layout"; import { metaKey } from "src/utils/metaKey"; import { LinkButton } from "./InlineLinkToolbar"; import { TextDecorationButton } from "./TextDecorationButton"; import { schema } from "components/Blocks/TextBlock/schema"; import { BoldSmall, ItalicSmall, StrikethroughSmall } from "./TextToolbar"; import { isMac } from "src/utils/isDevice"; export const FootnoteTextToolbar = (props: { setToolbarState: (s: "default" | "link") => void; }) => { return ( <>
Bold
{metaKey()} +{" "} B
} mark={schema.marks.strong} icon={} />
Italic
{metaKey()} +{" "} I
} mark={schema.marks.em} icon={} />
Strikethrough
{isMac() ? ( <> +{" "} Ctrl +{" "} X ) : ( <> Ctrl +{" "} Meta +{" "} X )}
} mark={schema.marks.strikethrough} icon={} /> ); };