This repository was archived by the owner on Oct 14, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed
Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 22 * @function Star
33 */
44import * as React from "react" ;
5- import styles from "../styles.css" ;
5+ import classes from "../styles.css" ;
66import StarSvg from "./starIcon" ;
77
88export interface IPropTypes { repo : string ; }
99
1010export default function Star ( props : IPropTypes ) {
1111 const { repo } = props ;
1212 return (
13- < div className = { styles . root } >
14- < button title = { `Star ${ repo } ` } className = { styles . button } >
13+ < div className = { classes . root } >
14+ < button title = { `Star ${ repo } ` } className = { classes . button } >
1515 < StarSvg />
1616 Star
1717 </ button >
1818 < a
19- className = { styles . count }
19+ className = { classes . count }
2020 href = { `https://github.com/${ repo } /stargazers` }
2121 aria-label = { `${ 1 } user starred this repository` }
2222 target = "_blank"
Original file line number Diff line number Diff line change 11import * as React from "react" ;
2- import styles from "../styles.css" ;
2+ import classes from "../styles.css" ;
33
44export default function StarIcon ( ) {
55 return (
66 < svg
7- className = { styles . svgicon }
7+ className = { classes . svgicon }
88 viewBox = "0 0 14 16"
99 version = "1.1"
1010 width = "14"
Original file line number Diff line number Diff line change 88}
99
1010.button {
11+ color : inherit;
1112 font-size : 12px ;
1213 line-height : 20px ;
1314 padding : 3px 10px ;
You can’t perform that action at this time.
0 commit comments