1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-04 00:18:01 +01:00
unleash.unleash/frontend/src/component/segments/SegmentActionCell/SegmentActionCell.tsx

18 lines
630 B
TypeScript
Raw Normal View History

import { ActionCell } from 'component/common/Table/cells/ActionCell/ActionCell';
import { ISegment } from 'interfaces/segment';
import { RemoveSegmentButton } from 'component/segments/RemoveSegmentButton/RemoveSegmentButton';
import { EditSegmentButton } from 'component/segments/EditSegmentButton/EditSegmentButton';
interface ISegmentActionCellProps {
segment: ISegment;
}
export const SegmentActionCell = ({ segment }: ISegmentActionCellProps) => {
return (
<ActionCell>
<EditSegmentButton segment={segment} />
<RemoveSegmentButton segment={segment} />
</ActionCell>
);
};