mirror of
https://github.com/usebruno/bruno.git
synced 2025-01-24 14:48:41 +01:00
23 lines
691 B
JavaScript
23 lines
691 B
JavaScript
import React from 'react';
|
|
import { IconFolders } 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">
|
|
<IconFolders size={18} strokeWidth={1.5}/>
|
|
<span className="ml-2 mr-4 font-semibold">{collection.name}</span>
|
|
</div>
|
|
<div className="flex flex-1 items-center justify-end">
|
|
<EnvironmentSelector />
|
|
</div>
|
|
</div>
|
|
</StyledWrapper>
|
|
)
|
|
};
|
|
|
|
export default CollectionToolBar;
|