The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/client/components/data/CounterSet.js

18 lines
400 B

import { Grid } from '@rocket.chat/fuselage';
import React from 'react';
import Counter from './Counter';
function CounterSet({ counters = [] }) {
return (
<Grid>
{counters.map(({ count, variation, description }, i) => (
<Grid.Item key={i}>
<Counter count={count} variation={variation} description={description} />
</Grid.Item>
))}
</Grid>
);
}
export default CounterSet;