mirror of
https://github.com/usebruno/bruno.git
synced 2024-12-11 09:11:27 +01:00
25 lines
865 B
JavaScript
25 lines
865 B
JavaScript
import React from 'react';
|
|
import { IconStack, IconGitFork } from '@tabler/icons';
|
|
import EnvironmentSelector from 'components/EnvironmentSelector';
|
|
import StyledWrapper from './StyledWrapper';
|
|
|
|
const CollectionToolBar = ({collection}) => {
|
|
return (
|
|
<StyledWrapper>
|
|
<div className="flex items-center p-2">
|
|
<div className="flex flex-1 items-center">
|
|
<IconStack size={18} strokeWidth={1.5}/>
|
|
<span className="ml-2 mr-4 font-semibold">anoop<span style={{paddingInline: 2}}>/</span>{collection.name}</span>
|
|
<IconGitFork size={16} strokeWidth={1}/>
|
|
<span className="ml-1 text-xs">from anoop/notebase</span>
|
|
</div>
|
|
<div className="flex flex-1 items-center justify-end">
|
|
<EnvironmentSelector />
|
|
</div>
|
|
</div>
|
|
</StyledWrapper>
|
|
)
|
|
};
|
|
|
|
export default CollectionToolBar;
|