« ReactComponce comme Deleteicon » Code Réponse

réactiveComponce comme Deleteicon
import { ReactComponent as DeleteIcon } from '../assets/deleteIcon.svg
// 'ReactComponent' is a Create React App (react-scripts@2.0.0+) feature
function App() {
  const onDelete = () => /* your code */
  return (
    /* Some element to delete */
    
onDelete()} />
) }

Laisser un commentaire