Move explorer styles into local styles.

This commit is contained in:
Tom Alexander 2024-01-28 18:20:22 -05:00
parent d158fafd77
commit 083b0aa376
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
3 changed files with 3 additions and 2 deletions

1
src/Explorer.module.css.d.ts vendored Normal file
View File

@ -0,0 +1 @@
export const Explorer: string;

View File

@ -1,5 +1,5 @@
import React, { useMemo, useState } from "react"; import React, { useMemo, useState } from "react";
import "./Explorer.css"; import styles from "./Explorer.module.css";
import { Highlight } from "./highlight"; import { Highlight } from "./highlight";
import OrgAst, { OrgNodeReference } from "./OrgAst"; import OrgAst, { OrgNodeReference } from "./OrgAst";
import { parse_org } from "../../organic/target/wasm32-unknown-unknown/js/wasm"; import { parse_org } from "../../organic/target/wasm32-unknown-unknown/js/wasm";
@ -63,7 +63,7 @@ function Explorer({ defaultValue = default_org_source }: ExplorerProps) {
return ( return (
<div className="Explorer"> <div className={styles.Explorer}>
<Editor <Editor
value={value} value={value}
setValue={setValue} setValue={setValue}