Skip to content

Commit

Permalink
Convert Sketchbox.js to Typescript (#1096)
Browse files Browse the repository at this point in the history
* Convert Sketchbox.js to Typescript

* Convert Sketchbox.js to Typescript

* Convert Sketchbox.js to Typescript

---------

Co-authored-by: Michael Lan <michaellan202@gmail.com>
  • Loading branch information
jenniferylee and mizlan authored Nov 29, 2023
1 parent a6c172d commit d02c147
Showing 1 changed file with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,20 @@ import React from 'react';
import { Link } from 'react-router-dom';
import { Row, Col } from 'reactstrap';

interface SketchBoxProps {
img: string;
icon: any;
name: string;
deleteFunc: () => void;
downloadFunc: () => void;
editFunc: () => void;
redirFunc: () => void;
pathname: string;
}

function SketchBox({
img, icon, name, deleteFunc, downloadFunc, editFunc, redirFunc, pathname,
}) {
}: SketchBoxProps) {
const buttonData = [
{
func: editFunc,
Expand Down

0 comments on commit d02c147

Please sign in to comment.