mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-15 09:11:57 +10:00
completed code quality check, code reusability
This commit is contained in:
@ -1,18 +1,9 @@
|
||||
import React from 'react';
|
||||
import Checkbox from './Checkbox';
|
||||
|
||||
const ItemActions = ({
|
||||
deleteItem,
|
||||
dispatch,
|
||||
first,
|
||||
identifier,
|
||||
item,
|
||||
last,
|
||||
moveItemDown,
|
||||
moveItemUp,
|
||||
onChange,
|
||||
type,
|
||||
}) => {
|
||||
import Checkbox from './Checkbox';
|
||||
import { deleteItem, moveItemUp, moveItemDown } from '../utils';
|
||||
|
||||
const ItemActions = ({ dispatch, first, identifier, item, last, onChange, type }) => {
|
||||
return (
|
||||
<div className="flex justify-between">
|
||||
<div className="flex items-center">
|
||||
|
||||
Reference in New Issue
Block a user