mirror of
https://github.com/usebruno/bruno.git
synced 2026-07-08 06:28:33 +00:00
15 lines
303 B
JavaScript
15 lines
303 B
JavaScript
import React from 'react';
|
|
import DotIcon from 'components/Icons/Dot';
|
|
|
|
const StatusDot = ({ type = 'default' }) => (
|
|
<sup
|
|
className={`ml-[.125rem] opacity-80 font-medium ${
|
|
type === 'error' ? 'text-red-500' : ''
|
|
}`}
|
|
>
|
|
<DotIcon width="10" />
|
|
</sup>
|
|
);
|
|
|
|
export default StatusDot;
|