import { useBackend } from '../backend'; import { Button } from '../components'; import { Window } from '../layouts'; type Data = { tgui_construction: { key; background; icon; foreground }[]; }; export const XenoarchReplicator = (props, context) => { const { act, data } = useBackend(context); const { tgui_construction } = data; return ( {tgui_construction.map((button, i) => (