Skip to content

Commit

Permalink
[Package]: migrate OpenTargetsTitle component to TypeScript (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
raskolnikov-rodion committed Oct 25, 2023
1 parent 740307b commit 4bf695f
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@ const useStyles = makeStyles(() => ({
},
}));

function OpenTargetsTitle({ className, name }) {
type OpenTargetsTitleProps = {
className?: string;
name: string;
}

function OpenTargetsTitle({ className, name }: OpenTargetsTitleProps) {
const classes = useStyles();
const titleClasses = classNames(classes.root, className);
const { isPartnerPreview } = usePermissions();
Expand Down

0 comments on commit 4bf695f

Please sign in to comment.