Skip to content

Commit a938b9d

Browse files
committed
2-popular-navbar
1 parent d02298d commit a938b9d

File tree

3 files changed

+514
-1
lines changed

3 files changed

+514
-1
lines changed

app/components/Popular.jsx

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import * as React from "react";
2+
3+
export default class Popular extends React.Component {
4+
render() {
5+
const languages = ["All", "JavaScript", "Ruby", "Java", "CSS", "Python"];
6+
7+
return (
8+
<select>
9+
{languages.map((language) => (
10+
<option key={language} value={language}>
11+
{language}
12+
</option>
13+
))}
14+
</select>
15+
);
16+
}
17+
}

0 commit comments

Comments
 (0)