(props: DataScopeButtonProps)
| 95 | } |
| 96 | |
| 97 | function 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 | |
| 106 | interface DataScopeButtonProps extends Props { |
| 107 | text: string; |