Files
Aconit/src/shared/gui/players_board/profile/index.story.tsx
2025-12-04 22:00:08 +01:00

18 lines
414 B
TypeScript

import { StrictMode } from "@rbxts/react";
import Profile from ".";
import React from "@rbxts/react";
import { createRoot } from "@rbxts/react-roblox";
import { Players } from "@rbxts/services";
export = function (target: Instance) {
const root = createRoot(target);
root.render(
<StrictMode>
<Profile player={Players.GetPlayers()[0]} />
</StrictMode>,
);
return function () {
root.unmount();
};
};