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

Function Compact

docs/app/js/sanddance-app.js:15199–15206  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

15197 })))));
15198}
15199function Compact(props) {
15200 return (0, _base.base).react.createElement("div", {
15201 title: props.text,
15202 onClick: ()=>{
15203 props.onDataScopeClick(props.dataScopeId);
15204 }
15205 }, short(props.count));
15206}
15207function DataScopeButton(props) {
15208 return (0, _base.base).react.createElement((0, _button.Button), {
15209 themePalette: props.themePalette,

Callers

nothing calls this directly

Calls 1

shortFunction · 0.70

Tested by

no test coverage detected