-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6093 from Vidit-Kushwaha/fix/dynamicImport
Fix: Dynamic Imports of Component
- Loading branch information
Showing
9 changed files
with
112 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
const componentsData = [ | ||
{ | ||
id: 1, | ||
name: "Button", | ||
description: | ||
"A button is an interactive element that triggers a specific action and also lets users know what will happen next.", | ||
url: "/projects/sistent/components/button", | ||
src: "/button", | ||
}, | ||
{ | ||
id: 2, | ||
name: "Text Input", | ||
description: | ||
"A text input is made up of multiple elements that combine to form a component that helps users to read, write, and edit text in an interface.", | ||
url: "/projects/sistent/components/text-input", | ||
src: "/text-input", | ||
}, | ||
{ | ||
id: 3, | ||
name: "Modal", | ||
description: | ||
"A text input is made up of multiple elements that combine to form a component that helps users to read, write, and edit text in an interface.", | ||
url: "/projects/sistent/components/modal", | ||
src: "/modal", | ||
}, | ||
{ | ||
id: 4, | ||
name: "Paper", | ||
description: | ||
"The Paper component offers an elevated surface with shadow effects, following Material Design’s elevation system.", | ||
url: "/projects/sistent/components/paper", | ||
src: "/paper", | ||
}, | ||
{ | ||
id: 5, | ||
name: "Popper", | ||
description: | ||
"A popper is a tooltip that appears when a user interacts with an element.", | ||
url: "/projects/sistent/components/popper", | ||
src: "/popper", | ||
}, | ||
{ | ||
id: 6, | ||
name: "Text Field", | ||
description: | ||
"The TextField component is a versatile input field used to capture user input in forms and user interfaces.", | ||
url: "/projects/sistent/components/text-field", | ||
src: "/text-field", | ||
}, | ||
{ | ||
id: 7, | ||
name: "Link", | ||
description: | ||
"Links are essential and integral components of an interface. They are primarily used for navigation, guiding users to the next step in a journey or redirecting them to relevant sections or pages.", | ||
url: "/projects/sistent/components/link", | ||
src: "/link", | ||
}, | ||
{ | ||
id: 8, | ||
name: "Container", | ||
description: | ||
"Containers align and center content, providing responsive layout options for different screen sizes.", | ||
url: "/projects/sistent/components/container", | ||
src: "/container", | ||
}, | ||
{ | ||
id: 9, | ||
name: "ButtonGroup", | ||
description: | ||
"ButtonGroup is a component that groups multiple buttons together.", | ||
url: "/projects/sistent/components/button-group", | ||
src: "/button-group", | ||
}, | ||
{ | ||
id: 10, | ||
name: "Box", | ||
description: | ||
"Box is used as a flexible container for layout and styling, allowing quick customization and responsive design adjustments.", | ||
url: "/projects/sistent/components/box", | ||
src: "/box", | ||
}, | ||
{ | ||
id: 11, | ||
name: "Tooltip", | ||
description: | ||
"The Tooltip component is a small pop-up box that appears when a user hovers over an element.", | ||
url: "/projects/sistent/components/tooltip", | ||
src: "/tooltip", | ||
}, | ||
{ | ||
id: 12, | ||
name: "Backdrop", | ||
description: | ||
"Backdrop component overlays a dimmed screen to focus attention on foreground content.", | ||
url: "/projects/sistent/components/backdrop", | ||
src: "/backdrop", | ||
}, | ||
]; | ||
|
||
module.exports = { componentsData }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters