Move explorer styles into local styles.
This commit is contained in:
parent
d158fafd77
commit
083b0aa376
1
src/Explorer.module.css.d.ts
vendored
Normal file
1
src/Explorer.module.css.d.ts
vendored
Normal file
@ -0,0 +1 @@
|
||||
export const Explorer: string;
|
@ -1,5 +1,5 @@
|
||||
import React, { useMemo, useState } from "react";
|
||||
import "./Explorer.css";
|
||||
import styles from "./Explorer.module.css";
|
||||
import { Highlight } from "./highlight";
|
||||
import OrgAst, { OrgNodeReference } from "./OrgAst";
|
||||
import { parse_org } from "../../organic/target/wasm32-unknown-unknown/js/wasm";
|
||||
@ -63,7 +63,7 @@ function Explorer({ defaultValue = default_org_source }: ExplorerProps) {
|
||||
|
||||
|
||||
return (
|
||||
<div className="Explorer">
|
||||
<div className={styles.Explorer}>
|
||||
<Editor
|
||||
value={value}
|
||||
setValue={setValue}
|
||||
|
Loading…
Reference in New Issue
Block a user