fix: re-remove Side-Panel
This commit is contained in:
committed by
mrugesh
parent
8b2f96609d
commit
6f5b22fd21
@ -1,25 +0,0 @@
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import ChallengeTitle from '../components/Challenge-Title';
|
||||
import Spacer from '../../../components/helpers/Spacer';
|
||||
|
||||
const propTypes = {
|
||||
description: PropTypes.string,
|
||||
introPath: PropTypes.string,
|
||||
isCompleted: PropTypes.bool,
|
||||
isSignedIn: PropTypes.bool,
|
||||
title: PropTypes.string
|
||||
};
|
||||
|
||||
export default function SidePanel({ title, description, isCompleted }) {
|
||||
return (
|
||||
<div>
|
||||
<Spacer />
|
||||
<ChallengeTitle isCompleted={isCompleted}>{title}</ChallengeTitle>
|
||||
<div dangerouslySetInnerHTML={{ __html: description }} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
SidePanel.displayName = 'ProjectSidePanel';
|
||||
SidePanel.propTypes = propTypes;
|
Reference in New Issue
Block a user