-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
49 additions
and
1 deletion.
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 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,27 @@ | ||
# FAQ page | ||
|
||
<br/> | ||
|
||
<sgds-faq-grid> | ||
<div> | ||
<h3> General </h3> | ||
<sgds-accordion-item> | ||
<div slot="accordion-header">Uncaught DOMException: Failed to execute 'define' on 'CustomElementRegistry'</div> | ||
<span slot="accordion-content">If you encounter this error, it means that you need to load the Scoped Custom Element Registry polyfill. Refer to the instructions <a target="_self" href="/story/getting-started-usage-scoped-elements--page">here</a></span> | ||
</sgds-accordion-item> | ||
|
||
<h3> React </h3> | ||
<sgds-accordion-item > | ||
<div slot="accordion-header">Can I use web components with react?</div> | ||
<span slot="accordion-content">Yes you can! Our library offers a react wrapped version for each of our web component. This helps to provide 100% compatibility with react. <a target="_self" href="/story/getting-started-frameworks-react--page">Learn more</a></span> | ||
</sgds-accordion-item> | ||
</div> | ||
|
||
<div> | ||
<sgds-card class="faq"> | ||
<span slot="card-title">Github Issues</span> | ||
<p slot="card-text">Head to GitHub to view or open a new issue</p> | ||
<a slot="card-link" href="https://github.com/GovTechSG/sgds-web-component/issues" target="_blank">Learn more</a> | ||
</sgds-card> | ||
</div> | ||
</sgds-faq-grid> |
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,7 @@ | ||
import { Meta, Description } from "@storybook/addon-docs"; | ||
import faq from '/docs/FAQ.md'; | ||
|
||
<Meta title="Troubleshooting/FAQ" /> | ||
|
||
<Description markdown={faq} /> | ||
|