// @flow import React from 'react'; import Button from 'component/button'; import * as ICONS from 'constants/icons'; type Props = { collectionIndex?: number, editCollection: (string, CollectionEditParams) => void, listId?: string, lastCollectionIndex?: number, claim: ?Claim, }; function CollectionButtons(props: Props) { const { collectionIndex, editCollection, listId, lastCollectionIndex, claim } = props; const [confirmDelete, setConfirmDelete] = React.useState(false); return (
{!confirmDelete && (
)} {confirmDelete && (
)}
); } export default CollectionButtons;