Skip to content

Commit

Permalink
feat: add work in progress modal
Browse files Browse the repository at this point in the history
  • Loading branch information
LRNZ09 committed Feb 27, 2025
1 parent 15dd501 commit 3486d8b
Showing 1 changed file with 21 additions and 9 deletions.
30 changes: 21 additions & 9 deletions src/app.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,26 @@
import { List, TaskBar } from '@react95/core';
import { Progman8 } from '@react95/icons';
import { List, Modal, TaskBar } from '@react95/core';
import { InfoBubble, Progman8 } from '@react95/icons';

export const App = () => {
return (
<TaskBar
list={
<List>
<List.Item icon={<Progman8 />}>Hang in there</List.Item>
</List>
}
/>
<>
<Modal
dragOptions={{
defaultPosition: { x: 50, y: 50 },
}}
icon={<InfoBubble />}
title='About'
>
<Modal.Content>Work in progress...</Modal.Content>
</Modal>

<TaskBar
list={
<List>
<List.Item icon={<Progman8 />}>Hang in there</List.Item>
</List>
}
/>
</>
);
};

0 comments on commit 3486d8b

Please sign in to comment.