Files
openmotion/packages/design-system/react/PlatformIcon.tsx
Tom Huang 89d80cbc40 Add configurable platform export handoffs for external Agents (#535)
* feat(export): add platform-specific Agent handoffs and guidance

Add configurable platform briefs, branded destination choices and a bounded export panel with fixed actions. Share scenario guidance with the MCP handbook and retain project identity, revision protection and manual upload boundaries.

Cover prompt contracts, clipboard recovery, responsive scrolling, packaging, and the real Studio/MCP/export/playback workflow.

* Fix platform export regression fixtures and shared translations
2026-11-17 18:20:37 +08:00

8 lines
426 B
TypeScript

import { designSystemAsset } from '../index.js';
import { platformIcons } from '../platform-icons.js';
/** Decorative artwork; the containing control supplies its accessible name. */
export function PlatformIcon({ platform }: { platform: keyof typeof platformIcons }) {
return <span className="om-platform-icon" aria-hidden="true"><img src={designSystemAsset(platformIcons[platform])} alt="" draggable={false} /></span>;
}