From 1c9c98b1c35fae8c698389532dc5a93d335e7f0c Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Tue, 25 Jan 2022 23:18:01 -0800 Subject: [PATCH] Implement new stars --- components/UncapIndicator/index.scss | 4 ++++ components/UncapIndicator/index.tsx | 12 ++++++----- components/UncapStar/index.scss | 32 ++++++++++++++++++++++++---- components/UncapStar/index.tsx | 18 +++++++++++++--- 4 files changed, 54 insertions(+), 12 deletions(-) diff --git a/components/UncapIndicator/index.scss b/components/UncapIndicator/index.scss index ceafd8d2..431f20d1 100644 --- a/components/UncapIndicator/index.scss +++ b/components/UncapIndicator/index.scss @@ -7,4 +7,8 @@ list-style: none; margin: 0; padding: 0; + + &:hover { + cursor: pointer; + } } \ No newline at end of file diff --git a/components/UncapIndicator/index.tsx b/components/UncapIndicator/index.tsx index ee74c9d5..ef8c00ab 100644 --- a/components/UncapIndicator/index.tsx +++ b/components/UncapIndicator/index.tsx @@ -1,5 +1,4 @@ -import React from 'react' -import classnames from 'classnames' +import React, { useState } from 'react' import UncapStar from '~components/UncapStar' import './index.scss' @@ -36,11 +35,14 @@ const UncapIndicator = (props: Props) => {