MCPcopy Create free account
hub / github.com/microsoft/SandDance / Actions

Function Actions

packages/sanddance-explorer/src/dialogs/snapshots.tsx:200–215  ·  view source on GitHub ↗
(props: ActionsProps)

Source from the content-addressed store, hash-verified

198}
199
200function Actions(props: ActionsProps) {
201 return (
202 <div className="actions">
203 {props.actions.map((action, i) => {
204 if (action.iconButtonProps) {
205 return (
206 <IconButton key={i} {...action.iconButtonProps} />
207 );
208 }
209 if (action.element) {
210 return action.element;
211 }
212 })}
213 </div>
214 );
215}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected