diff --git a/property-inspector/src/router.tsx b/property-inspector/src/router.tsx new file mode 100644 index 0000000..1d1bd82 --- /dev/null +++ b/property-inspector/src/router.tsx @@ -0,0 +1,27 @@ +import { lazy } from 'react'; +const IncrementAction = lazy(() => import('./actions/IncrementAction')); +const LightSwitchAction = lazy(() => import('./actions/LightSwitchAction')); + +// - Types +import { ParsedProps } from './types/streamDeck'; + +// - Shared +import { INCREMENT_COUNTER_UUID, LIGHT_SWITCH_UUID } from 'shared'; + + +export default function RouterAction(props: ParsedProps) { + + switch (props.inActionInfo.action) { + case INCREMENT_COUNTER_UUID: + return + case LIGHT_SWITCH_UUID: + return + default: + return ( +
+ Unknown Action +
+ ); + } +} +