MCPcopy
hub / github.com/microsoft/SandDance / Compact

Function Compact

packages/sanddance-explorer/src/controls/dataScope.tsx:97–104  ·  view source on GitHub ↗
(props: DataScopeButtonProps)

Source from the content-addressed store, hash-verified

95}
96
97function Compact(props: DataScopeButtonProps) {
98 return (
99 <div
100 title={props.text}
101 onClick={() => { props.onDataScopeClick(props.dataScopeId); }}
102 >{short(props.count)}</div>
103 );
104}
105
106interface DataScopeButtonProps extends Props {
107 text: string;

Callers

nothing calls this directly

Calls 1

shortFunction · 0.70

Tested by

no test coverage detected