patternfly-react icon indicating copy to clipboard operation
patternfly-react copied to clipboard

DashboardWrapper: codesandbox export error

Open kmcfaul opened this issue 4 years ago • 1 comments

Current the DashboardWrapper / DashboardHeader / etc reused by full page demos do not import to codesandbox correctly.

We should either update the codesandbox export template to include these files (for every export, or looking through the code for import statements and conditionally importing) or copy the content of files into the example file as a separate class, effectively locally importing the wrapper. The latter has the downside of duplicating the code again, but maybe an upside of allowing a user to view the wrapper code without having to find the file in the codebase or looking at Page docs.

kmcfaul avatar Nov 12 '21 17:11 kmcfaul

Related to https://github.com/patternfly/patternfly-org/issues/2737 & https://github.com/patternfly/patternfly-org/issues/2705

evwilkin avatar Nov 19 '21 16:11 evwilkin