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/DotLeader.tsx

21 lines
482 B

import { Box } from '@rocket.chat/fuselage';
import React, { FC, CSSProperties } from 'react';
type DotLeaderProps = {
color?: CSSProperties['borderColor'];
dotSize?: CSSProperties['borderBlockEndWidth'];
};
const DotLeader: FC<DotLeaderProps> = ({ color = 'neutral-300', dotSize = 'x2' }) => (
<Box
flexGrow={1}
h='full'
alignSelf='flex-end'
borderBlockEndStyle='dotted'
borderBlockEndWidth={dotSize}
m='x2'
borderColor={color}
/>
);
export default DotLeader;