mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-01-17 06:08:36 +01:00
3a0e588530
* Ignore editor file * Integrate Readonly Editor * Remove logs * Implement minimum height * Implement Custom Roadmap Modal * Implement Custom Roadmap progress modal * Implement Readonly Editor * Implement utils * Update `gitignore` * Fix generate renderer script * Refactor UI * Add Empty Roadmap state * Upgrade dependencies and editor update * Update deployment workflow * Update roadmap header * Update dependencies * Refactor Readonly editor * Add Readonly Dummy Editor * Add editor to gitignore * Add Assume Unchanged * Add editor in the tailwind * Fix tailwind issue * Fix URL for add friends * Add share with friends functionality * Update workflow --------- Co-authored-by: Arik Chakma <arikchangma@gmail.com>
15 lines
523 B
TypeScript
15 lines
523 B
TypeScript
export function ReadonlyEditor(props: any) {
|
|
return (
|
|
<div className="fixed bottom-0 left-0 right-0 top-0 z-[9999] border bg-white p-5 text-black">
|
|
<h2 className="mb-2 text-xl font-semibold">Private Component</h2>
|
|
<p className="mb-4">
|
|
Renderer is a private component. If you are a collaborator and have
|
|
access to it. Run the following command:
|
|
</p>
|
|
<code className="mt-5 rounded-md bg-gray-800 p-2 text-white">
|
|
npm run generate-renderer
|
|
</code>
|
|
</div>
|
|
);
|
|
}
|