speice.io/blog/2024-11-15-playing-with-fire/1-introduction/scope.tsx

15 lines
360 B
TypeScript

import {useContext} from "react";
import { plot } from './plot';
import { randomBiUnit } from '../src/randomBiUnit';
import { randomInteger } from '../src/randomInteger';
import Canvas, {PainterContext} from "../src/Canvas";
const Scope = {
Canvas,
PainterContext,
plot,
randomBiUnit,
randomInteger,
useContext,
}
export default Scope;