Skip to content

Creating Modal component + Adding X Icon to icons folder#62

Merged
elliotBraem merged 4 commits intoNEARBuilders:mainfrom
RamboGj:feature-modal
Jan 15, 2024
Merged

Creating Modal component + Adding X Icon to icons folder#62
elliotBraem merged 4 commits intoNEARBuilders:mainfrom
RamboGj:feature-modal

Conversation

@RamboGj
Copy link
Copy Markdown

@RamboGj RamboGj commented Jan 15, 2024

No description provided.

@vercel
Copy link
Copy Markdown

vercel bot commented Jan 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
gateway ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 15, 2024 2:13pm

Comment thread src/components/icons/X.jsx Outdated
@@ -0,0 +1,18 @@
import React from "react"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be in this PR?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed

@@ -0,0 +1,76 @@
const { theme } = VM.require("rambo-dev.near/widget/ThemeProvider");
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we not use the ThemeProvider please? We can explore this in the future.

Theming does not need to happen on a per-component basis. We will just define the Theme in the root.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Totally

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants