esolang/languages/rockstar/renderer.tsx
2022-02-02 21:09:00 +05:30

7 lines
189 B
TypeScript

import { RendererProps } from "../types";
import { RS } from "./common";
export const Renderer = ({ state }: RendererProps<RS>) => {
return state == null ? null : <p>state.value</p>;
};