APPENDIX D
Project Artifact
Prototypes mount by slug here, never from data.
- HANDLE
- project-artifact
- LIVES IN
- src/components/ProjectArtifacts.jsx
- USED ON
- Top of every chapter
- PROPS
- project (mounts a prototype by slug, else the screens gallery)
EXAMPLE
LIVEAs it renders.
SCREENS01 / 06
CODE
COPY AND PASTEHow it is called.
JSX
import ProjectArtifact from '../components/ProjectArtifacts.jsx'
<ProjectArtifact project={project} />
{/* mounts the prototype for xactflex · mobile · dashboard · reservation, else the screens gallery */}RULES
What must stay true.
Prototypes mount by slug here, never from data.