# All files / components/DragGroup/styles/DragGroupTitle index.js

0% Statements 0/15
0% Branches 0/4
0% Functions 0/2
0% Lines 0/5

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12

     import React from 'react';
    import Container from './DragGroupTitleContainer';
    import Content from './DragGroupTitleContent';
    import Icon from '../../../Icon';

    export default ({ children, expanded, onDelete }) => (
      <Container expanded={expanded}>
        <Content>{children}</Content>
        <Icon name="delete3" onClick={onDelete} />
      </Container>
    );