hexsha stringlengths 40 40 | size int64 3 522k | ext stringclasses 1
value | lang stringclasses 1
value | max_stars_repo_path stringlengths 6 191 | max_stars_repo_name stringlengths 6 110 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses list | max_stars_count int64 1 82k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 6 191 | max_issues_repo_name stringlengths 6 110 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses list | max_issues_count int64 1 74.7k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 6 191 | max_forks_repo_name stringlengths 6 110 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses list | max_forks_count int64 1 17.8k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 3 522k | avg_line_length float64 3 44.5k | max_line_length int64 3 401k | alphanum_fraction float64 0.08 1 | tabs_spaces.tabs bool 2
classes | tabs_spaces.spaces bool 2
classes | react_component.class bool 2
classes | react_component.function bool 2
classes |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d00007f0967a66b9c4a913ae7c1b9fd081b75263 | 556 | jsx | JSX | src/js/containers/pages/ArrayHookPage.jsx | react-custom-projects/custom-react-hooks | 1a28a9209cc8db20c3abc0ac58a6d8ece5a6b5ad | [
"MIT"
] | null | null | null | src/js/containers/pages/ArrayHookPage.jsx | react-custom-projects/custom-react-hooks | 1a28a9209cc8db20c3abc0ac58a6d8ece5a6b5ad | [
"MIT"
] | null | null | null | src/js/containers/pages/ArrayHookPage.jsx | react-custom-projects/custom-react-hooks | 1a28a9209cc8db20c3abc0ac58a6d8ece5a6b5ad | [
"MIT"
] | null | null | null | import React from 'react';
//custom hooks
import useArray from '../../customHooks/UseArray';
const ArrayHookPage = () => {
const toDos = useArray([]);
return (
<div className="magnify-container">
<h3>ToDos</h3>
<button onClick={() => toDos.add(Math.random())}>Add</button>
<ul>
{toDos.value.map((el, i... | 22.24 | 73 | 0.591727 | true | false | false | true |
d00009246fb13dcca8132937d1f4a1baaac1b137 | 8,866 | jsx | JSX | src/tools/webui/src/components/pages/Configuration.jsx | mpranj/libelektra | 373a87dad9101a875aeb79abc8e49560612af2bc | [
"MIT",
"BSD-3-Clause-Clear",
"Apache-2.0",
"BSD-3-Clause"
] | 188 | 2015-01-07T20:34:26.000Z | 2022-03-16T09:55:09.000Z | src/tools/webui/src/components/pages/Configuration.jsx | mpranj/libelektra | 373a87dad9101a875aeb79abc8e49560612af2bc | [
"MIT",
"BSD-3-Clause-Clear",
"Apache-2.0",
"BSD-3-Clause"
] | 3,813 | 2015-01-02T14:00:08.000Z | 2022-03-31T14:19:11.000Z | src/tools/webui/src/components/pages/Configuration.jsx | mpranj/libelektra | 373a87dad9101a875aeb79abc8e49560612af2bc | [
"MIT",
"BSD-3-Clause-Clear",
"Apache-2.0",
"BSD-3-Clause"
] | 149 | 2015-01-10T02:07:50.000Z | 2022-03-16T09:50:24.000Z | /**
* @file
*
* @brief this is the configuration page
*
* it renders the interactive tree view
*
* @copyright BSD License (see LICENSE.md or https://www.libelektra.org)
*/
import React, { Component } from "react";
import { Card, CardHeader, CardText } from "material-ui/Card";
import IconButton from "material-... | 26.153392 | 77 | 0.498195 | false | true | true | false |
d0000dce55c161037f27e15cb22892616fa3941f | 1,447 | jsx | JSX | src/modules/landing-page/components/About.jsx | StudioKarsa/studiokarsa-web | ddf4bedf99e74fdb414577f85262f7f1c2530700 | [
"RSA-MD"
] | 7 | 2021-06-23T03:07:34.000Z | 2021-09-17T15:30:02.000Z | src/modules/landing-page/components/About.jsx | StudioKarsa/studiokarsa.tech | ddf4bedf99e74fdb414577f85262f7f1c2530700 | [
"RSA-MD"
] | 2 | 2021-07-11T13:23:33.000Z | 2021-07-12T14:33:15.000Z | src/modules/landing-page/components/About.jsx | StudioKarsa/studiokarsa.tech | ddf4bedf99e74fdb414577f85262f7f1c2530700 | [
"RSA-MD"
] | null | null | null | import React from 'react'
import { useTranslation } from 'react-i18next'
import { Link } from 'gatsby'
import TeamSVG from '../../../assets/images/team.svg'
import ArrowSVG from '../../../assets/icons/arrow.svg'
const About = () => {
const { t } = useTranslation()
return (
<div id="section-about" className="... | 32.886364 | 113 | 0.564616 | false | true | false | true |
d0001cdfec9f7208b4c756359d08eeed65b74d24 | 1,033 | jsx | JSX | agile/src/app/agile/containers/project/Backlog/BacklogComponent/SprintComponent/SprintItemComponent/BacklogHeader.jsx | choerodon/choerodon-front-agile | 0275762f89d3ee9e9e624fb729ba67494f73c823 | [
"Apache-2.0"
] | 17 | 2018-06-08T08:35:43.000Z | 2021-11-19T06:29:29.000Z | agile/src/app/agile/containers/project/Backlog/BacklogComponent/SprintComponent/SprintItemComponent/BacklogHeader.jsx | choerodon/choerodon-front-agile | 0275762f89d3ee9e9e624fb729ba67494f73c823 | [
"Apache-2.0"
] | null | null | null | agile/src/app/agile/containers/project/Backlog/BacklogComponent/SprintComponent/SprintItemComponent/BacklogHeader.jsx | choerodon/choerodon-front-agile | 0275762f89d3ee9e9e624fb729ba67494f73c823 | [
"Apache-2.0"
] | 16 | 2018-06-08T09:58:32.000Z | 2020-01-02T09:47:59.000Z | import React, { Component } from 'react';
import { observer, inject } from 'mobx-react';
import SprintName from './SprintHeaderComponent/SprintName';
import SprintVisibleIssue from './SprintHeaderComponent/SprintVisibleIssue';
import '../Sprint.scss';
import BacklogStore from '../../../../../../stores/project/backlog/B... | 28.694444 | 81 | 0.607938 | false | true | true | false |
d0002670d92c11e085f8d1f77fe233fe479265e9 | 1,166 | jsx | JSX | imports/ui2/components/TabNav.jsx | gabijuns/liane-toolkit | 583304cb4396c342bfec32532b37d0827d952c38 | [
"MIT"
] | null | null | null | imports/ui2/components/TabNav.jsx | gabijuns/liane-toolkit | 583304cb4396c342bfec32532b37d0827d952c38 | [
"MIT"
] | null | null | null | imports/ui2/components/TabNav.jsx | gabijuns/liane-toolkit | 583304cb4396c342bfec32532b37d0827d952c38 | [
"MIT"
] | null | null | null | import React, { Component } from "react";
import styled, { css } from "styled-components";
const Container = styled.nav`
display: flex;
align-items: center;
justify-content: center;
margin: 0 0 2rem;
font-size: 0.8em;
font-weight: 600;
background: #333;
a {
text-align: center;
flex: 1 1 auto;
... | 19.433333 | 48 | 0.517153 | false | true | true | false |
d00029d7001284f38d3aea4994b1015b4b333ba8 | 6,444 | jsx | JSX | src/pages/staff/food/AddFood.jsx | CS2102-Team-51/main | 99198373ca74b16528df9184fab1e1d9a900951f | [
"MIT"
] | null | null | null | src/pages/staff/food/AddFood.jsx | CS2102-Team-51/main | 99198373ca74b16528df9184fab1e1d9a900951f | [
"MIT"
] | 6 | 2020-03-29T18:58:20.000Z | 2020-03-29T19:14:55.000Z | src/pages/staff/food/AddFood.jsx | CS2102-Team-51/main | 99198373ca74b16528df9184fab1e1d9a900951f | [
"MIT"
] | 2 | 2020-02-07T15:17:59.000Z | 2020-02-08T07:04:35.000Z | import React, {Component} from 'react';
import Button from '@material-ui/core/Button';
import TextField from '@material-ui/core/TextField';
import Dialog from '@material-ui/core/Dialog';
import DialogActions from '@material-ui/core/DialogActions';
import DialogContent from '@material-ui/core/DialogContent';
import Dial... | 28.387665 | 93 | 0.522036 | false | true | true | false |
d000322489ad25f38f083d1f2ff169902bf48c31 | 450 | jsx | JSX | designsystem/examples/form/Checkbox.jsx | NghiNg/designsystem | 548fdb7b32e0d956f29d098f001007936a22125e | [
"MIT"
] | null | null | null | designsystem/examples/form/Checkbox.jsx | NghiNg/designsystem | 548fdb7b32e0d956f29d098f001007936a22125e | [
"MIT"
] | null | null | null | designsystem/examples/form/Checkbox.jsx | NghiNg/designsystem | 548fdb7b32e0d956f29d098f001007936a22125e | [
"MIT"
] | null | null | null | import { Checkbox } from '@sb1/ffe-form-react';
<fieldset className="ffe-fieldset">
<legend className="ffe-form-label ffe-form-label--block">
Hvilke aviser leser du?
</legend>
<Checkbox name="newspapers" value="vg">
VG
</Checkbox>
<Checkbox name="newspapers" value="dagbladet">
... | 26.470588 | 61 | 0.637778 | false | true | false | true |
d000506f694749bd1135ef62724500540d5f2d33 | 1,955 | jsx | JSX | src/client/components/containers/EventsContainer.jsx | TWetmore/Swell | ed852fbb6079c63e7986adcf294c889c524109c8 | [
"MIT"
] | 10 | 2020-12-31T16:25:16.000Z | 2021-02-12T01:56:20.000Z | src/client/components/containers/EventsContainer.jsx | njfleming/Swell | 632fcd4df07f87ce813b6b8e042768fb47c89c91 | [
"MIT"
] | null | null | null | src/client/components/containers/EventsContainer.jsx | njfleming/Swell | 632fcd4df07f87ce813b6b8e042768fb47c89c91 | [
"MIT"
] | null | null | null | import React from 'react';
import {UnControlled as CodeMirror} from 'react-codemirror2';
import EmptyState from '../display/EmptyState';
import EventPreview from '../display/EventPreview';
import 'codemirror/theme/neo.css'
export default function EventsContainer({currentResponse}) {
const { request, response } =... | 28.75 | 97 | 0.596419 | false | true | false | true |
d0005faaed23832d240c25d2576b22049bdd76d6 | 2,660 | jsx | JSX | src/views/Projects.jsx | tschaeff/thor-news-gastbyjs-blog | c1ad216e1501823ee670a11274e8a39dfe1c0c06 | [
"MIT"
] | 8 | 2019-01-28T19:32:53.000Z | 2020-05-04T16:58:21.000Z | src/views/Projects.jsx | thorwebdev/thor-news-gastbyjs-blog | a5dc15814366abfce7b949b16440e821faea312b | [
"MIT"
] | 2 | 2019-01-13T11:10:00.000Z | 2019-02-05T00:08:28.000Z | src/views/Projects.jsx | thorwebdev/thor-news-gastbyjs-blog | a5dc15814366abfce7b949b16440e821faea312b | [
"MIT"
] | 2 | 2019-11-14T07:31:50.000Z | 2020-01-31T17:17:25.000Z | import React from "react";
import PropTypes from "prop-types";
import { Divider, DividerMiddle } from "../elements/Dividers";
import Content from "../elements/Content";
import Inner from "../elements/Inner";
import { UpDown, UpDownWide } from "../styles/animations";
import { colors } from "../../tailwind";
import SVG f... | 27.42268 | 80 | 0.495113 | false | true | false | true |
d00065730e697c5c4c86d6097e4d728a84db8d32 | 1,760 | jsx | JSX | src/components/Hero/Hero.jsx | tracey-web/portfolio | c301d7f4064939b0c6667781a2f070b550adb45e | [
"MIT"
] | null | null | null | src/components/Hero/Hero.jsx | tracey-web/portfolio | c301d7f4064939b0c6667781a2f070b550adb45e | [
"MIT"
] | null | null | null | src/components/Hero/Hero.jsx | tracey-web/portfolio | c301d7f4064939b0c6667781a2f070b550adb45e | [
"MIT"
] | null | null | null | import React, { useContext, useState, useEffect } from 'react';
import { Container } from 'react-bootstrap';
import Fade from 'react-reveal/Fade';
import { Link } from 'react-scroll';
import VideoBg from 'reactjs-videobg';
import PortfolioContext from '../../context/context';
import mp4 from '../../images/clouds.mp4';
... | 31.428571 | 94 | 0.576136 | false | true | false | true |
d0008858a0dc613211ac22def08629552334b7d0 | 1,408 | jsx | JSX | src/components/UserAccount/UserAccountDetails.jsx | MasterEatsPlatzi/Master-Eats | 5df6d8969040b2038303fd72c14098c932be987b | [
"MIT"
] | 1 | 2020-07-01T04:39:25.000Z | 2020-07-01T04:39:25.000Z | src/components/UserAccount/UserAccountDetails.jsx | MasterEatsPlatzi/Master-Eats | 5df6d8969040b2038303fd72c14098c932be987b | [
"MIT"
] | 6 | 2020-07-03T16:45:42.000Z | 2022-02-27T07:34:14.000Z | src/components/UserAccount/UserAccountDetails.jsx | MasterEatsPlatzi/Master-Eats | 5df6d8969040b2038303fd72c14098c932be987b | [
"MIT"
] | null | null | null | import React from 'react';
import './UserAccount.scss';
import { Link } from 'react-router-dom';
const UserAccountDetails = () => {
return (
<div className="UserAccount__container__menu-settings">
<h2>Mi cuenta</h2>
<form action="">
<div className="form-wrapper">
<div className="for... | 37.052632 | 125 | 0.557528 | false | true | false | true |
d00098a2c0173690e38a34a5535312546bf46c61 | 1,098 | jsx | JSX | frontend/src/components/main/main.jsx | ChrisMeyer7088/PersonalSite | 6d068b5ac21a5134cfbddd6fb6bd24c33711c1f3 | [
"MIT"
] | null | null | null | frontend/src/components/main/main.jsx | ChrisMeyer7088/PersonalSite | 6d068b5ac21a5134cfbddd6fb6bd24c33711c1f3 | [
"MIT"
] | null | null | null | frontend/src/components/main/main.jsx | ChrisMeyer7088/PersonalSite | 6d068b5ac21a5134cfbddd6fb6bd24c33711c1f3 | [
"MIT"
] | null | null | null | import { useRef } from 'react';
import { Header } from '../header/header.jsx';
import { About } from '../about/about.jsx';
import { Work } from '../work/work.jsx';
import { Projects } from '../projects/projects.jsx';
import { Contact } from '../contact/contact.jsx';
import { Icons } from '../icons/icons.jsx'
import { u... | 37.862069 | 103 | 0.632058 | false | true | false | true |
d000a72069056e997b16a99d18b964177805ac68 | 355 | jsx | JSX | Print/source/js/components/Title.jsx | kmakoto0212/kintone-plugins | 429ed92fd85c6bfa56863aabf059fbf73c85b6f6 | [
"MIT"
] | null | null | null | Print/source/js/components/Title.jsx | kmakoto0212/kintone-plugins | 429ed92fd85c6bfa56863aabf059fbf73c85b6f6 | [
"MIT"
] | null | null | null | Print/source/js/components/Title.jsx | kmakoto0212/kintone-plugins | 429ed92fd85c6bfa56863aabf059fbf73c85b6f6 | [
"MIT"
] | null | null | null | /* eslint-disable react/prop-types */
import React, {memo} from 'react';
import Label from '@components/Label';
import '@css/header';
const Title = ({title}) => {
return (
<>
<Label
className="header-title"
text={title}
fontSize="16px"
isVisible={!!title}
/>
</>
... | 17.75 | 38 | 0.560563 | false | true | false | true |
d000b3eaef0d8ffaa066f93e8c0d8c94bc1b8002 | 2,566 | jsx | JSX | src/components/Tables/Acessos.jsx | user-cube/ies_frontend | 406401eba6ade48b16634027c6648115ce060a0f | [
"MIT"
] | 1 | 2019-12-22T21:32:08.000Z | 2019-12-22T21:32:08.000Z | src/components/Tables/Acessos.jsx | user-cube/ies_frontend | 406401eba6ade48b16634027c6648115ce060a0f | [
"MIT"
] | null | null | null | src/components/Tables/Acessos.jsx | user-cube/ies_frontend | 406401eba6ade48b16634027c6648115ce060a0f | [
"MIT"
] | null | null | null | import React from "react";
// react component for creating dynamic tables
import ReactTable from "react-table";
class LastAccessTable extends React.Component {
constructor(props) {
super(props);
this.state = {
acessos: props.acessosX,
colums: [
{
... | 28.831461 | 63 | 0.377631 | false | true | true | false |
d000bd5aa9eebf5e2c831ac7b8d0a2c09a3dd655 | 480 | jsx | JSX | client/src/components/comment-card/styles.jsx | Suzan-Dev/vlog | 2a1de3c66b325171cb8f09b80f1dc08c80ca5ba7 | [
"MIT"
] | null | null | null | client/src/components/comment-card/styles.jsx | Suzan-Dev/vlog | 2a1de3c66b325171cb8f09b80f1dc08c80ca5ba7 | [
"MIT"
] | null | null | null | client/src/components/comment-card/styles.jsx | Suzan-Dev/vlog | 2a1de3c66b325171cb8f09b80f1dc08c80ca5ba7 | [
"MIT"
] | 1 | 2022-01-18T11:05:46.000Z | 2022-01-18T11:05:46.000Z | import { makeStyles } from '@material-ui/core/styles';
const useStyles = makeStyles((theme) => ({
commentCardContainer: {
margin: theme.spacing(3, 0),
display: 'flex',
alignContent: 'center',
'& > div:last-child': {
marginLeft: theme.spacing(2),
'& > div': {
display: 'flex',
... | 19.2 | 54 | 0.56875 | false | true | false | true |
d000c516fbca143cbaf02b3edf56e2d4acc2164d | 3,073 | jsx | JSX | ui/src/components/Company/LoginCompanyPage.jsx | IvayloIV/AdsPartners | 693c5c7abb4ab9e5b8944fd6c874ce82dca9d5e0 | [
"MIT"
] | null | null | null | ui/src/components/Company/LoginCompanyPage.jsx | IvayloIV/AdsPartners | 693c5c7abb4ab9e5b8944fd6c874ce82dca9d5e0 | [
"MIT"
] | null | null | null | ui/src/components/Company/LoginCompanyPage.jsx | IvayloIV/AdsPartners | 693c5c7abb4ab9e5b8944fd6c874ce82dca9d5e0 | [
"MIT"
] | null | null | null | import React, { useState } from 'react';
import { useDispatch } from "react-redux";
import { toast } from 'react-toastify';
import TextField from '@material-ui/core/TextField';
import { Button } from 'semantic-ui-react';
import * as validations from '../../validations/login';
import { loginCompanyAction } from '../../a... | 35.321839 | 98 | 0.508949 | false | true | false | true |
d000c7561690a331bf6a90a180127b66cac28cbd | 6,928 | jsx | JSX | features/apimgt/org.wso2.carbon.apimgt.publisher.feature/src/main/resources/publisher/source/src/app/components/Base/Header/headersearch/SearchUtils.jsx | miyurud/carbon-apimgt | 0990a1eac7c7ca648d763f79330d39eea0417d40 | [
"Apache-2.0"
] | 2 | 2019-09-19T11:30:08.000Z | 2019-10-27T07:38:16.000Z | features/apimgt/org.wso2.carbon.apimgt.publisher.feature/src/main/resources/publisher/source/src/app/components/Base/Header/headersearch/SearchUtils.jsx | miyurud/carbon-apimgt | 0990a1eac7c7ca648d763f79330d39eea0417d40 | [
"Apache-2.0"
] | null | null | null | features/apimgt/org.wso2.carbon.apimgt.publisher.feature/src/main/resources/publisher/source/src/app/components/Base/Header/headersearch/SearchUtils.jsx | miyurud/carbon-apimgt | 0990a1eac7c7ca648d763f79330d39eea0417d40 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/li... | 34.128079 | 119 | 0.594544 | false | true | false | true |
d000f0dc93d91ca5eafc8f53d5234467958778af | 3,014 | jsx | JSX | src/components/Header/HeaderControlsNotifications.jsx | serCJm/react-admin-dashboard | 92b56f1ca2293b460a5310d8b9c955d6ef9b5916 | [
"MIT"
] | 1 | 2018-12-13T20:01:17.000Z | 2018-12-13T20:01:17.000Z | src/components/Header/HeaderControlsNotifications.jsx | serCJm/react-admin-dashboard | 92b56f1ca2293b460a5310d8b9c955d6ef9b5916 | [
"MIT"
] | 9 | 2019-09-07T22:46:35.000Z | 2022-02-26T06:52:37.000Z | src/components/Header/HeaderControlsNotifications.jsx | serCJm/react-admin-dashboard | 92b56f1ca2293b460a5310d8b9c955d6ef9b5916 | [
"MIT"
] | null | null | null | import React, { Component } from "react";
import { NavLink } from "react-router-dom";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { faEnvelope } from "@fortawesome/free-solid-svg-icons";
import { faBell } from "@fortawesome/free-solid-svg-icons";
import { faRss } from "@fortawesome/free-sol... | 26.672566 | 79 | 0.60219 | false | true | true | false |
d0010ef5b3e1c812a02bc262e18d1d803d953d49 | 11,376 | jsx | JSX | superset-frontend/src/explore/components/ExploreChartHeader.jsx | choice-form/superset | 8d579798671459ea1635f177b7c8e6f1612ff3b2 | [
"Apache-2.0"
] | null | null | null | superset-frontend/src/explore/components/ExploreChartHeader.jsx | choice-form/superset | 8d579798671459ea1635f177b7c8e6f1612ff3b2 | [
"Apache-2.0"
] | 1 | 2022-02-23T10:34:59.000Z | 2022-02-23T10:34:59.000Z | superset-frontend/src/explore/components/ExploreChartHeader.jsx | choice-form/superset | 8d579798671459ea1635f177b7c8e6f1612ff3b2 | [
"Apache-2.0"
] | null | null | null | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | 30.745946 | 98 | 0.620781 | false | true | false | true |
d0011ff5c50f8e4a30346178d0638e77a3147cc9 | 4,495 | jsx | JSX | __tests__/components/SEO.spec.jsx | pcooney10/react-seo | 531e9d5580faf5e53ca263a595b9ad5964819a54 | [
"Apache-2.0"
] | null | null | null | __tests__/components/SEO.spec.jsx | pcooney10/react-seo | 531e9d5580faf5e53ca263a595b9ad5964819a54 | [
"Apache-2.0"
] | null | null | null | __tests__/components/SEO.spec.jsx | pcooney10/react-seo | 531e9d5580faf5e53ca263a595b9ad5964819a54 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2020 American Express Travel Related Services Company, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... | 27.919255 | 100 | 0.573749 | false | true | false | true |
d001326025cdb56143af9fd8827c12ac049dbfc3 | 4,746 | jsx | JSX | src/components/MainHeader/NavLinks.jsx | ngwessels/SeatGeek-CLone | cd06c2a522fedc91928cca4692403ace97487aac | [
"MIT"
] | 1 | 2019-06-04T00:34:33.000Z | 2019-06-04T00:34:33.000Z | src/components/MainHeader/NavLinks.jsx | ngwessels/SeatGeek-CLone | cd06c2a522fedc91928cca4692403ace97487aac | [
"MIT"
] | null | null | null | src/components/MainHeader/NavLinks.jsx | ngwessels/SeatGeek-CLone | cd06c2a522fedc91928cca4692403ace97487aac | [
"MIT"
] | null | null | null | import React from 'react';
import NavButton from './NavButton';
function NavLinks() {
var style = {
display: 'flex',
alignItems: 'center',
}
var bump = {
paddingRight: '20px'
}
return (
<div style={style}>
<svg style={bump} preserveAspectRatio="xMidYMid" width="128" height="24" viewBo... | 169.5 | 4,180 | 0.705225 | false | true | false | true |
d00142066cb277fc203dfeae311af88ef3c2ab54 | 9,078 | jsx | JSX | awx/ui_next/src/screens/Template/WorkflowJobTemplate.jsx | jwlogemann/awx | 4a8f1d41fa05f25e310f3166449e1a93de4fddb1 | [
"Apache-2.0"
] | 1 | 2020-03-29T13:01:12.000Z | 2020-03-29T13:01:12.000Z | awx/ui_next/src/screens/Template/WorkflowJobTemplate.jsx | jwlogemann/awx | 4a8f1d41fa05f25e310f3166449e1a93de4fddb1 | [
"Apache-2.0"
] | 1 | 2019-09-24T21:08:04.000Z | 2019-09-24T21:08:04.000Z | awx/ui_next/src/screens/Template/WorkflowJobTemplate.jsx | jbradberry/awx | b8ec94a0ae5356614342820d2e3b67c06bf7bb44 | [
"Apache-2.0"
] | null | null | null | import React, { Component } from 'react';
import { t } from '@lingui/macro';
import { withI18n } from '@lingui/react';
import { Card, CardActions, PageSection } from '@patternfly/react-core';
import { Switch, Route, Redirect, withRouter, Link } from 'react-router-dom';
import { TabbedCardHeader } from '@components/Card... | 29.861842 | 88 | 0.523023 | false | true | true | false |
d001433ce3ac511b8eea06d4c703f44eddc4f30b | 2,212 | jsx | JSX | person/src/container/bossinfo/bossinfo.jsx | zhangshuaidan/-App | 593c62acd15fc8fd00e5ffbd7c33b4207862e7f9 | [
"MIT"
] | null | null | null | person/src/container/bossinfo/bossinfo.jsx | zhangshuaidan/-App | 593c62acd15fc8fd00e5ffbd7c33b4207862e7f9 | [
"MIT"
] | 6 | 2020-09-04T23:20:47.000Z | 2021-03-09T10:28:12.000Z | person/src/container/bossinfo/bossinfo.jsx | zhangshuaidan/-App | 593c62acd15fc8fd00e5ffbd7c33b4207862e7f9 | [
"MIT"
] | null | null | null | import React from "react";
import { NavBar, InputItem, TextareaItem, Button } from 'antd-mobile';
import { Redirect } from 'react-router-dom'
import AvatarSelector from '../../component/avatar-selector/avatar-selector'
import {connect} from 'react-redux'
import { update} from '../../redux/user.redux'
@connect(
stat... | 32.529412 | 106 | 0.445298 | false | true | true | false |
d0014fdc6f667864c0b15a9aecf62036b0633a5f | 2,067 | jsx | JSX | app/components/explorer/treefolderexplorer/folderCreateItem.jsx | learning-layers/LivingDocumentsClient | ff4ae0502957b1fafb07ecf0098ba5c108aaedd0 | [
"Apache-2.0"
] | null | null | null | app/components/explorer/treefolderexplorer/folderCreateItem.jsx | learning-layers/LivingDocumentsClient | ff4ae0502957b1fafb07ecf0098ba5c108aaedd0 | [
"Apache-2.0"
] | null | null | null | app/components/explorer/treefolderexplorer/folderCreateItem.jsx | learning-layers/LivingDocumentsClient | ff4ae0502957b1fafb07ecf0098ba5c108aaedd0 | [
"Apache-2.0"
] | null | null | null | "use strict";
import React from "react";
import jQuery from "jquery";
import FolderActions from "../../../reflux/folder/folderActions";
let Input = require("react-bootstrap").Input;
let FolderCreateItem = React.createClass({
getInitialState() {
return {
createFolderName: ""
};
},
... | 30.850746 | 162 | 0.562651 | false | true | false | true |
d0017763eae4b8df6209a88626e4d96ff3f7e144 | 5,605 | jsx | JSX | src/views/SignIn/index.jsx | sheunglaili/react-dashboard-template-with-firebase-login | e85f58c215374e284d792156053a4e7f5837ba23 | [
"MIT"
] | 8 | 2020-07-09T15:33:21.000Z | 2022-01-15T07:16:47.000Z | src/views/SignIn/index.jsx | sheunglaili/react-dashboard-template-with-firebase-login | e85f58c215374e284d792156053a4e7f5837ba23 | [
"MIT"
] | 2 | 2020-09-01T08:13:43.000Z | 2022-02-10T18:04:17.000Z | src/views/SignIn/index.jsx | sheunglaili/react-dashboard-template-with-firebase-login | e85f58c215374e284d792156053a4e7f5837ba23 | [
"MIT"
] | 8 | 2020-06-26T20:41:28.000Z | 2022-03-14T23:43:37.000Z | import React, { Component } from 'react';
import { Link, withRouter } from 'react-router-dom';
// Externals
import PropTypes from 'prop-types';
import compose from 'recompose/compose';
import validate from 'validate.js';
import _ from 'underscore';
// Material helpers
import { withStyles } from '@material-ui/core/sty... | 25.593607 | 79 | 0.532917 | false | true | true | false |
d0017e2ada3924d5b659224eb64f7cf1e7451d3a | 1,632 | jsx | JSX | templates/demo-store/src/components/ProductOptions.client.jsx | Shopify/hydrogen | effc509cbfc9ddf4bf8df9f8dff17daa47362dbb | [
"MIT"
] | 2,156 | 2021-11-06T02:52:37.000Z | 2022-03-31T23:54:13.000Z | templates/demo-store/src/components/ProductOptions.client.jsx | Shopify/hydrogen | effc509cbfc9ddf4bf8df9f8dff17daa47362dbb | [
"MIT"
] | 492 | 2021-11-07T06:38:58.000Z | 2022-03-31T16:20:43.000Z | templates/demo-store/src/components/ProductOptions.client.jsx | Shopify/hydrogen | effc509cbfc9ddf4bf8df9f8dff17daa47362dbb | [
"MIT"
] | 129 | 2021-11-07T09:54:08.000Z | 2022-03-30T06:10:18.000Z | import {useProductOptions} from '@shopify/hydrogen';
/**
* A client component that tracks a selected variant and/or selling plan state, as well as callbacks for modifying the state
*/
export default function ProductOptions() {
const {options, setSelectedOption, selectedOptions} = useProductOptions();
return (
... | 32.64 | 124 | 0.433211 | false | true | false | true |
d00186671d0c1d2ca712dd5600b1ff6fc53d0549 | 2,920 | jsx | JSX | superset-frontend/spec/javascripts/views/CRUD/csstemplates/CssTemplateModal_spec.jsx | vinaybabunaidu/incubator-superset | 6c6ded139b80fd2799eb028f1421137c86096170 | [
"Apache-2.0"
] | 3 | 2021-02-19T01:43:50.000Z | 2021-08-14T04:56:41.000Z | superset-frontend/spec/javascripts/views/CRUD/csstemplates/CssTemplateModal_spec.jsx | vinaybabunaidu/incubator-superset | 6c6ded139b80fd2799eb028f1421137c86096170 | [
"Apache-2.0"
] | 39 | 2019-07-28T09:49:37.000Z | 2022-03-31T09:37:13.000Z | superset-frontend/spec/javascripts/views/CRUD/csstemplates/CssTemplateModal_spec.jsx | vinaybabunaidu/incubator-superset | 6c6ded139b80fd2799eb028f1421137c86096170 | [
"Apache-2.0"
] | 1 | 2020-12-07T12:24:49.000Z | 2020-12-07T12:24:49.000Z | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | 32.087912 | 76 | 0.697603 | false | true | false | true |
d0018f95982f4531527f472a879908b888c9966d | 1,200 | jsx | JSX | front/www/src/pages/ProfilePage.jsx | MattCo23/Project-Flanders | e9aef2ad5a5ea88644a7cab06b27fe95237d7b29 | [
"MIT",
"Unlicense"
] | 4 | 2020-11-26T03:25:12.000Z | 2021-08-29T19:49:27.000Z | front/www/src/pages/ProfilePage.jsx | MattCo23/Project-Flanders | e9aef2ad5a5ea88644a7cab06b27fe95237d7b29 | [
"MIT",
"Unlicense"
] | 12 | 2020-11-26T11:55:48.000Z | 2021-03-06T22:11:08.000Z | front/www/src/pages/ProfilePage.jsx | MattCo23/Project-Flanders | e9aef2ad5a5ea88644a7cab06b27fe95237d7b29 | [
"MIT",
"Unlicense"
] | null | null | null | import React from 'react';
import { Profile } from '../components/Profile/Profile';
import { ProfileData } from '../components/Profile/Subsections/ProfileData';
import { ProfilePass } from '../components/Profile/Subsections/ProfilePass';
import { ProfileContainer } from '../components/Profile/Subsections/ProfileContain... | 36.363636 | 86 | 0.640833 | false | true | false | true |
d00190949571005d82bd3ab924ba05559465d265 | 622 | jsx | JSX | packages/terra-notification-dialog/tests/jest/_ContentLayoutAsList.test.jsx | kschuste/terra-framework | c1e8afc2d38a2ef6505541ca8218b23fd37fc650 | [
"Apache-2.0"
] | 65 | 2017-11-16T20:32:58.000Z | 2021-06-01T16:46:48.000Z | packages/terra-notification-dialog/tests/jest/_ContentLayoutAsList.test.jsx | kschuste/terra-framework | c1e8afc2d38a2ef6505541ca8218b23fd37fc650 | [
"Apache-2.0"
] | 987 | 2017-10-23T19:46:57.000Z | 2022-03-29T14:41:37.000Z | packages/terra-notification-dialog/tests/jest/_ContentLayoutAsList.test.jsx | kschuste/terra-framework | c1e8afc2d38a2ef6505541ca8218b23fd37fc650 | [
"Apache-2.0"
] | 64 | 2018-01-30T16:08:46.000Z | 2022-03-02T15:43:45.000Z | import React from 'react';
/* eslint-disable import/no-extraneous-dependencies */
import { shallowWithIntl } from 'terra-enzyme-intl';
import ContentLayoutAsList from '../../src/_ContentLayoutAsList';
describe('Content Layout As List', () => {
it('shallow renders layout with no items', () => {
const list = shall... | 27.043478 | 65 | 0.646302 | false | true | false | true |
d001a72997b282e7c0640dafafe20792bcdeafbd | 320 | jsx | JSX | components/Image/index.jsx | tyrro/react-survey | 2615f2c7bf9c6df486a13d1a8fcd8c6b227a454d | [
"MIT"
] | 6 | 2022-03-07T07:30:19.000Z | 2022-03-16T10:38:14.000Z | components/Image/index.jsx | tyrro/react-survey | 2615f2c7bf9c6df486a13d1a8fcd8c6b227a454d | [
"MIT"
] | 46 | 2022-03-11T09:43:01.000Z | 2022-03-30T02:14:04.000Z | components/Image/index.jsx | tyrro/react-survey | 2615f2c7bf9c6df486a13d1a8fcd8c6b227a454d | [
"MIT"
] | null | null | null | import NextImage from 'next/image';
import PropTypes from 'prop-types';
const Image = ({ src, alt, ...attributes }) => <NextImage src={src} alt={alt} {...attributes} />;
Image.propTypes = {
src: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
alt: PropTypes.string.isRequired,
};
export default Image;
| 26.666667 | 97 | 0.7 | false | true | false | true |
d001b174b3ddf9cbd7ae149ab1fda61595b76411 | 2,320 | jsx | JSX | src/Components/JsonConfigComponent/ConfigCheckbox.jsx | ioBroker/adapter-react-v5 | 927b438392fe5b955a0cbe7b14f6509debdaec87 | [
"MIT"
] | 1 | 2022-03-30T08:11:30.000Z | 2022-03-30T08:11:30.000Z | src/Components/JsonConfigComponent/ConfigCheckbox.jsx | ioBroker/adapter-react-v5 | 927b438392fe5b955a0cbe7b14f6509debdaec87 | [
"MIT"
] | null | null | null | src/Components/JsonConfigComponent/ConfigCheckbox.jsx | ioBroker/adapter-react-v5 | 927b438392fe5b955a0cbe7b14f6509debdaec87 | [
"MIT"
] | null | null | null | import React from 'react';
import PropTypes from 'prop-types';
import { withStyles } from '@mui/styles';
import FormControlLabel from '@mui/material/FormControlLabel';
import Checkbox from '@mui/material/Checkbox';
import FormHelperText from '@mui/material/FormHelperText';
import FormControl from '@mui/material/FormCo... | 35.692308 | 177 | 0.615948 | false | true | false | true |
d001bd29a68c86b46cbb299cb25cb8be5aafb8c0 | 2,487 | jsx | JSX | src/components/result/DidResult.jsx | sighttviewliu/universal-resolver-frontend | 771450453eff8d1d2270af1d284b06f9f8ba1a31 | [
"Apache-2.0"
] | 2 | 2018-12-05T12:45:48.000Z | 2019-06-27T12:08:08.000Z | src/components/result/DidResult.jsx | sighttviewliu/universal-resolver-frontend | 771450453eff8d1d2270af1d284b06f9f8ba1a31 | [
"Apache-2.0"
] | null | null | null | src/components/result/DidResult.jsx | sighttviewliu/universal-resolver-frontend | 771450453eff8d1d2270af1d284b06f9f8ba1a31 | [
"Apache-2.0"
] | null | null | null | import React, { Component } from 'react';
import { Card, Divider } from 'semantic-ui-react'
import DidReference from './DidReference';
import Service from './Service';
import PublicKey from './PublicKey';
export class DidResult extends Component {
render() {
var didDocumentServices;
if (Array.isArray(... | 55.266667 | 359 | 0.739043 | true | false | true | false |
d001bf4483d72b928bbd27aebc004c0b1b1cbf09 | 883 | jsx | JSX | app/components/ProductsTable.jsx | char-lie/react-products-list | f53b3866caa51c445368d1010152153aa7d50363 | [
"MIT"
] | null | null | null | app/components/ProductsTable.jsx | char-lie/react-products-list | f53b3866caa51c445368d1010152153aa7d50363 | [
"MIT"
] | null | null | null | app/components/ProductsTable.jsx | char-lie/react-products-list | f53b3866caa51c445368d1010152153aa7d50363 | [
"MIT"
] | null | null | null | import React from 'react';
import PropTypes from 'prop-types';
import { Table, TableHead, TableRow, TableCell } from 'react-toolbox/lib/table';
import ProductModel from '../models/Product';
const ProductsTable = props => (
<Table selectable={false}>
<TableHead>
<TableCell>
Name
</TableCell>... | 22.641026 | 80 | 0.631937 | false | true | false | true |
d001d36562f6f81b5127e9fb217d871c686eb665 | 297 | jsx | JSX | src/Footer.jsx | gallantry007/my-new-react-pr | 93b62968498bba3baeba8bca14781ef0694538c5 | [
"MIT"
] | null | null | null | src/Footer.jsx | gallantry007/my-new-react-pr | 93b62968498bba3baeba8bca14781ef0694538c5 | [
"MIT"
] | null | null | null | src/Footer.jsx | gallantry007/my-new-react-pr | 93b62968498bba3baeba8bca14781ef0694538c5 | [
"MIT"
] | null | null | null | import React from "react";
const Footer=()=>{
return(
<>
<footer className="bg-light text-center">
<p>
2022 Gallantry .All Right Reserved / Terms and Conditions Apply
</p>
</footer>
</>
)
}
export default Footer; | 16.5 | 79 | 0.498316 | false | true | false | true |
d001dddb2db90a72b356e977eda0d0e408792a7c | 2,824 | jsx | JSX | src/views/Login/index.jsx | KirillYoYo/Banks | 1c133f30cb54f05863fed5aaa195e1edebc69e33 | [
"MIT"
] | null | null | null | src/views/Login/index.jsx | KirillYoYo/Banks | 1c133f30cb54f05863fed5aaa195e1edebc69e33 | [
"MIT"
] | null | null | null | src/views/Login/index.jsx | KirillYoYo/Banks | 1c133f30cb54f05863fed5aaa195e1edebc69e33 | [
"MIT"
] | null | null | null | import React from 'react'
import PropTypes from 'prop-types'
import {Form, Input, Button, Row, Col, Icon, message} from 'antd'
import {bindActionCreators} from 'redux'
import {connect} from 'react-redux'
import {withRouter} from 'react-router-dom';
import {login} from '../../actions/auth'
const FormItem = Form.Item
im... | 24.136752 | 94 | 0.652975 | true | false | true | false |
d001f1ae731005741a7845a49216f8622320f157 | 1,927 | jsx | JSX | src/components/MediaComponents/MediaItem.jsx | PlayXman/reactapp-showcase | 269205e46f810074004694ea1b287bf47a470234 | [
"MIT"
] | null | null | null | src/components/MediaComponents/MediaItem.jsx | PlayXman/reactapp-showcase | 269205e46f810074004694ea1b287bf47a470234 | [
"MIT"
] | 34 | 2018-06-17T20:49:19.000Z | 2021-12-24T05:54:24.000Z | src/components/MediaComponents/MediaItem.jsx | PlayXman/app-msa | 269205e46f810074004694ea1b287bf47a470234 | [
"MIT"
] | null | null | null | import React, { PureComponent } from 'react';
import PropTypes from 'prop-types';
import withStyles from '@material-ui/core/styles/withStyles';
import Grid from '@material-ui/core/Grid/Grid';
import OwnageBtn from '../Item/actions/OwnageBtn';
import Labels from '../Item/labels/Labels';
import SubMenu from '../Item/subm... | 20.284211 | 90 | 0.659056 | true | false | false | true |
d0020ce0723ee2e863d0ac191f58d872cba2a660 | 364 | jsx | JSX | src/components/Header.jsx | Quarzizus/curso-redux | 565c687da145d41de8083a2a1502818e3cacde7b | [
"MIT"
] | 1 | 2021-06-24T14:51:56.000Z | 2021-06-24T14:51:56.000Z | src/components/Header.jsx | Quarzizus/curso-redux | 565c687da145d41de8083a2a1502818e3cacde7b | [
"MIT"
] | null | null | null | src/components/Header.jsx | Quarzizus/curso-redux | 565c687da145d41de8083a2a1502818e3cacde7b | [
"MIT"
] | null | null | null | import React from "react";
import { Link } from "react-router-dom";
import "./styles/Header.scss";
const Header = () => {
return (
<header className="Header">
<Link to="/" className="Link">
<h2>Home</h2>
</Link>
<Link to="/users" className="Link">
<h2>Users</h2>
</Link>
... | 19.157895 | 41 | 0.552198 | false | true | false | true |
d0020ed08e3a5ac6a483cdac5c8d0081df789a03 | 1,301 | jsx | JSX | app/components/pages/HCHelpPage.jsx | Connoropolous/HC-Admin | eff4385ef9ed2e62be4ca57b64164a4c01158747 | [
"MIT"
] | 3 | 2019-02-11T17:51:53.000Z | 2019-07-05T09:21:11.000Z | app/components/pages/HCHelpPage.jsx | Connoropolous/HC-Admin | eff4385ef9ed2e62be4ca57b64164a4c01158747 | [
"MIT"
] | 4 | 2019-02-09T03:29:21.000Z | 2019-04-30T05:47:37.000Z | app/components/pages/HCHelpPage.jsx | holochain/HC-Admin | 1d76faaf60155038ff0576e08017efc09585ed1e | [
"MIT"
] | 1 | 2019-02-07T13:28:42.000Z | 2019-02-07T13:28:42.000Z | import * as React from 'react';
import classNames from 'classnames';
import { Theme } from '@material-ui/core/styles/createMuiTheme';
import withStyles, { WithStyles } from '@material-ui/core/styles/withStyles';
import createStyles from '@material-ui/core/styles/createStyles';
import Typography from '@material-ui/core/... | 30.255814 | 142 | 0.660261 | false | true | true | false |
d00211d290e0450c0b64e8b628e0f89487ab5967 | 417 | jsx | JSX | src/components/pages/Home/Home.jsx | Eazybee/Video-Album | 91990bf01dc4b83ec6ee74c6e5b5a39983c7b68d | [
"MIT"
] | null | null | null | src/components/pages/Home/Home.jsx | Eazybee/Video-Album | 91990bf01dc4b83ec6ee74c6e5b5a39983c7b68d | [
"MIT"
] | 5 | 2021-06-28T19:28:23.000Z | 2022-02-26T19:07:46.000Z | src/components/pages/Home/Home.jsx | Eazybee/Video-Album | 91990bf01dc4b83ec6ee74c6e5b5a39983c7b68d | [
"MIT"
] | null | null | null | import React, { useContext } from 'react';
import PageLayout from '../../ui/layout/PageLayout';
import Video from '<organisms>/Video/Video';
import VideoContext from '<context>/video';
const Homepage = () => {
const [videos] = useContext(VideoContext);
return (
<PageLayout>
{videos.map((videoData, k... | 24.529412 | 75 | 0.647482 | false | true | false | true |
d002333595e82f0a03375b93fddcc17aa9acd563 | 423 | jsx | JSX | icons/jsx/SignalWifi0Bar.jsx | openedx/paragon | 370b558a906d5f1f451c204a0b1f653feccc24ac | [
"Apache-2.0"
] | 5 | 2022-02-16T17:22:51.000Z | 2022-03-29T13:50:03.000Z | icons/jsx/SignalWifi0Bar.jsx | arizzitano/excalibur | 5dc4acfaa731e7d7a4e9f13b492f73891f8ae970 | [
"Apache-2.0"
] | 196 | 2022-01-12T19:25:24.000Z | 2022-03-31T17:12:27.000Z | icons/jsx/SignalWifi0Bar.jsx | arizzitano/excalibur | 5dc4acfaa731e7d7a4e9f13b492f73891f8ae970 | [
"Apache-2.0"
] | 2 | 2022-01-20T11:50:25.000Z | 2022-01-26T17:25:41.000Z | import * as React from "react";
function SvgSignalWifi0Bar(props) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width={24}
height={24}
viewBox="0 0 24 24"
{...props}
>
<path d="M12 4C7.31 4 3.07 5.9 0 8.98L12 21 24 8.98A16.88 16.88 0 0012 4zM2.92 9.07C5.51 7.08 8.67 6... | 23.5 | 155 | 0.586288 | false | true | false | true |
d00234a45cd4c2729aeb43b8c58eb74e77a65aa9 | 3,414 | jsx | JSX | src/components/search/HeaderSearch.jsx | LD4P/sinopia_editor | 28f433875b280be6ea28583f1a33faa069595fea | [
"Apache-2.0"
] | 24 | 2019-07-09T18:26:33.000Z | 2022-02-19T22:15:46.000Z | src/components/search/HeaderSearch.jsx | LD4P/sinopia_editor | 28f433875b280be6ea28583f1a33faa069595fea | [
"Apache-2.0"
] | 2,150 | 2018-09-26T17:30:33.000Z | 2022-03-31T10:16:49.000Z | src/components/search/HeaderSearch.jsx | LD4P/sinopia_editor | 28f433875b280be6ea28583f1a33faa069595fea | [
"Apache-2.0"
] | 6 | 2018-12-14T17:57:46.000Z | 2021-02-13T18:12:26.000Z | // Copyright 2019 Stanford University see LICENSE for license
import React, { useRef, useEffect, useState } from "react"
import { useSelector } from "react-redux"
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"
import { faSearch, faInfoCircle } from "@fortawesome/free-solid-svg-icons"
import { Popover... | 29.179487 | 269 | 0.615407 | false | true | false | true |
d00240546a16457dee93184e1100802971d8bf92 | 453 | jsx | JSX | botfront/imports/ui/components/utils/Utils.jsx | thomas779/botfront | ba120f98d8b9877a136aa07284808392ce34381a | [
"Apache-2.0"
] | 737 | 2019-05-08T15:29:35.000Z | 2022-03-31T07:13:04.000Z | botfront/imports/ui/components/utils/Utils.jsx | thomas779/botfront | ba120f98d8b9877a136aa07284808392ce34381a | [
"Apache-2.0"
] | 367 | 2019-05-09T20:44:19.000Z | 2021-05-04T19:38:25.000Z | botfront/imports/ui/components/utils/Utils.jsx | thomas779/botfront | ba120f98d8b9877a136aa07284808392ce34381a | [
"Apache-2.0"
] | 303 | 2019-05-11T18:44:27.000Z | 2022-03-31T07:44:27.000Z | import React from 'react';
import PropTypes from 'prop-types';
import { Loader, Popup } from 'semantic-ui-react';
export function Loading({ loading, children }) {
return !loading ? children : <Loader active inline='centered' />;
}
export function tooltipWrapper(trigger, tooltip) {
return (
<Popup si... | 22.65 | 74 | 0.684327 | false | true | false | true |
d0024d02867c54efe1ac52688c358deda8d87070 | 2,560 | jsx | JSX | client/containers/ActivitiesContainer.jsx | LordRegis22/voyajour-travel | 367f75a5bb63663bd54b171f7d69a28730ebe455 | [
"MIT"
] | 1 | 2020-10-18T05:38:41.000Z | 2020-10-18T05:38:41.000Z | client/containers/ActivitiesContainer.jsx | LordRegis22/voyajour-travel | 367f75a5bb63663bd54b171f7d69a28730ebe455 | [
"MIT"
] | null | null | null | client/containers/ActivitiesContainer.jsx | LordRegis22/voyajour-travel | 367f75a5bb63663bd54b171f7d69a28730ebe455 | [
"MIT"
] | null | null | null | /* eslint-disable import/extensions */
import React, { useState } from 'react';
import { connect } from 'react-redux';
import { Button } from 'react-bootstrap';
import Activity from '../components/Activity.jsx';
import ActivityFormModal from '../components/AddActivityModal.jsx';
import * as actions from '../actions/act... | 30.47619 | 79 | 0.663672 | false | true | false | true |
d00250d309a72db7085c443b4f5982363b782288 | 1,628 | jsx | JSX | src/views/ComingSoonScreen.jsx | adimute/dvir-dashboard | 23a08556c4f98151ab992bf7e7971e17a22ae156 | [
"MIT"
] | 1 | 2020-02-22T18:44:46.000Z | 2020-02-22T18:44:46.000Z | src/views/ComingSoonScreen.jsx | adimute/dvir-dashboard | 23a08556c4f98151ab992bf7e7971e17a22ae156 | [
"MIT"
] | 1 | 2022-02-10T21:16:59.000Z | 2022-02-10T21:16:59.000Z | src/views/ComingSoonScreen.jsx | adimute/dvir-dashboard | 23a08556c4f98151ab992bf7e7971e17a22ae156 | [
"MIT"
] | null | null | null | /*!
=========================================================
* Paper Dashboard React - v1.1.0
=========================================================
* Product Page: https://www.creative-tim.com/product/paper-dashboard-react
* Copyright 2019 Creative Tim (https://www.creative-tim.com)
* Licensed under MIT (https:... | 24.298507 | 128 | 0.468673 | false | true | true | false |
d0029051ff84b9a5e5e6fc605573ef6932971795 | 187 | jsx | JSX | section_15_react_router_w_hooks/project_1/src/Redux.jsx | Kubixii/React | 2bd831fb8f39f19eaf8b1d0d391f9e2870db6a40 | [
"MIT"
] | null | null | null | section_15_react_router_w_hooks/project_1/src/Redux.jsx | Kubixii/React | 2bd831fb8f39f19eaf8b1d0d391f9e2870db6a40 | [
"MIT"
] | null | null | null | section_15_react_router_w_hooks/project_1/src/Redux.jsx | Kubixii/React | 2bd831fb8f39f19eaf8b1d0d391f9e2870db6a40 | [
"MIT"
] | null | null | null | import React from 'react'
const Redux = () => {
return (
<article>
<h2>
Redux
</h2>
</article>
);
}
export default Redux; | 14.384615 | 25 | 0.411765 | false | true | false | true |
d002925e8d33eb33df1321798408a78e940c90a2 | 1,794 | jsx | JSX | client/src/components/Chat/Chat/Dialog/Dialog.jsx | gabivlj/R | 582faecf6f24429859d467f6e5859837dcd71a8d | [
"MIT"
] | 7 | 2019-08-18T10:53:10.000Z | 2020-08-25T00:32:13.000Z | client/src/components/Chat/Chat/Dialog/Dialog.jsx | gabivlj/R | 582faecf6f24429859d467f6e5859837dcd71a8d | [
"MIT"
] | 4 | 2019-11-22T00:31:34.000Z | 2022-01-22T09:56:36.000Z | client/src/components/Chat/Chat/Dialog/Dialog.jsx | gabivlj/R | 582faecf6f24429859d467f6e5859837dcd71a8d | [
"MIT"
] | 1 | 2020-05-31T01:39:55.000Z | 2020-05-31T01:39:55.000Z | import React, { useEffect, useRef } from 'react';
import ReactDOM from 'react-dom';
import {
Dialog,
DialogTitle,
DialogContent,
DialogContentText,
DialogActions,
Button,
CircularProgress,
} from '@material-ui/core';
export default function DialogMe({
open,
handleClose,
title,
Render,
propsRend... | 21.878049 | 73 | 0.513378 | false | true | false | true |
d00293f04c6094aa3a154597ba83b10ab3f290dd | 2,012 | jsx | JSX | webapp/components/admin_console/admin_console.jsx | realrolfje/mattermost-platform | 1397798f1763b0848957a8672c8d40b6243764d5 | [
"Apache-2.0"
] | null | null | null | webapp/components/admin_console/admin_console.jsx | realrolfje/mattermost-platform | 1397798f1763b0848957a8672c8d40b6243764d5 | [
"Apache-2.0"
] | null | null | null | webapp/components/admin_console/admin_console.jsx | realrolfje/mattermost-platform | 1397798f1763b0848957a8672c8d40b6243764d5 | [
"Apache-2.0"
] | 1 | 2020-09-18T02:17:38.000Z | 2020-09-18T02:17:38.000Z | // Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.
import React from 'react';
import 'bootstrap';
import ErrorBar from 'components/error_bar.jsx';
import AdminStore from 'stores/admin_store.jsx';
import * as AsyncClient from 'utils/async_client.jsx';
impor... | 27.189189 | 96 | 0.567097 | false | true | true | false |
d00295d4cabb840c28fba53287dc574646e645fa | 487 | jsx | JSX | src/components/Input/Input.jsx | YanaDerevianko/matrix-creator | 84a8e1c4c8814747c1235e75dddf77e56d1e7417 | [
"MIT"
] | null | null | null | src/components/Input/Input.jsx | YanaDerevianko/matrix-creator | 84a8e1c4c8814747c1235e75dddf77e56d1e7417 | [
"MIT"
] | null | null | null | src/components/Input/Input.jsx | YanaDerevianko/matrix-creator | 84a8e1c4c8814747c1235e75dddf77e56d1e7417 | [
"MIT"
] | null | null | null | import React from "react";
import store from "../../redux/store";
import shortid from 'shortid';
export const Input = ({ inputLabel, inputHandler, value }) => {
const setValueHandler = (param) => store.dispatch(inputHandler(param));
return (
<label htmlFor={shortid.generate()}>
{inputLabel}
<inp... | 24.35 | 73 | 0.601643 | false | true | false | true |
d002ab53567f5b9a746e294e305ab2a217c488c6 | 477 | jsx | JSX | src/components/startpage/serviceitem.jsx | dominikhofmanpl/mwcollective-gatsby-wordpress-site | c266325f32eecc8df625e3044cdd5fbab8d739de | [
"RSA-MD"
] | null | null | null | src/components/startpage/serviceitem.jsx | dominikhofmanpl/mwcollective-gatsby-wordpress-site | c266325f32eecc8df625e3044cdd5fbab8d739de | [
"RSA-MD"
] | null | null | null | src/components/startpage/serviceitem.jsx | dominikhofmanpl/mwcollective-gatsby-wordpress-site | c266325f32eecc8df625e3044cdd5fbab8d739de | [
"RSA-MD"
] | null | null | null | import React from 'react'
const ServiceItem = ({serviceIcon, serviceTitle, serviceDescription}) => {
return (
<div className="flex flex-col py-4 md:mr-4">
<img src={serviceIcon} alt="" srcset="" style={{
width: `4rem`
}} className="my-3"/>
<h3 className="... | 31.8 | 74 | 0.572327 | false | true | false | true |
d002adcb2d63e54b1fb80cf2dd820a39426fcd43 | 739 | jsx | JSX | src/components/porfolio-page.jsx | HenKyubi666/HenKyubi666.github.io | c1cf7a60b27067c363ac83ee88a4291ccf04f4c0 | [
"RSA-MD"
] | null | null | null | src/components/porfolio-page.jsx | HenKyubi666/HenKyubi666.github.io | c1cf7a60b27067c363ac83ee88a4291ccf04f4c0 | [
"RSA-MD"
] | null | null | null | src/components/porfolio-page.jsx | HenKyubi666/HenKyubi666.github.io | c1cf7a60b27067c363ac83ee88a4291ccf04f4c0 | [
"RSA-MD"
] | null | null | null | import React from "react"
const PorfolioPage = ({ imgPage, altImgPage, title, description, urlPage }) => (
<div className="h-100 w-100 card d-flex flex-column porfolio-slide">
<div className="my-auto">
<div className="d-flex justify-content-center">
<img className="img-portfolio" src={imgPage} alt=... | 32.130435 | 80 | 0.607578 | false | true | false | true |
d002c36c6eaf4a1f801106f9bf96bda2c36d123f | 1,786 | jsx | JSX | example/src/containers/Topbar.jsx | ryo-channel/ui-neumorphism | 497e3457cbab55294d07969881fafad73fcf6924 | [
"MIT"
] | 516 | 2020-06-11T20:27:01.000Z | 2022-03-29T18:23:00.000Z | example/src/containers/Topbar.jsx | bottlehs/ui-neumorphism | 1b09f20a6bd16eb8813a7ad50775845a4699862e | [
"MIT"
] | 12 | 2020-06-11T20:27:00.000Z | 2022-02-21T15:35:04.000Z | example/src/containers/Topbar.jsx | saeedkefayati/ui-neumorphism | 197a3c3c7b160342f10b9eac8c82796ae349cf8f | [
"MIT"
] | 41 | 2020-06-23T08:10:17.000Z | 2022-03-30T16:32:11.000Z | import React, { createElement } from 'react'
import Icon from '@mdi/react'
import {
mdiNpm,
mdiMenu,
mdiGithub,
mdiLightbulb,
mdiLightbulbOutline
} from '@mdi/js'
import { H2, H6, Card, IconButton, ToggleButton } from 'ui-neumorphism'
const npmUrl = 'https://www.npmjs.com/package/ui-neumorphism'
const githu... | 27.476923 | 78 | 0.578387 | false | true | true | false |
d002c37ddfa0cc36f0e55bed0af44a903e02f22b | 5,257 | jsx | JSX | src/components/editor/InterfaceList.jsx | zpkweb/rap2-dolores | 75730036d55be8503415d3ba1f3aaee79ae0f3f0 | [
"MIT"
] | null | null | null | src/components/editor/InterfaceList.jsx | zpkweb/rap2-dolores | 75730036d55be8503415d3ba1f3aaee79ae0f3f0 | [
"MIT"
] | 14 | 2020-07-17T03:44:23.000Z | 2022-03-03T22:19:59.000Z | src/components/editor/InterfaceList.jsx | zpkweb/rap2-dolores | 75730036d55be8503415d3ba1f3aaee79ae0f3f0 | [
"MIT"
] | null | null | null | import React, { Component } from 'react'
import { PropTypes, connect, Link, replace, StoreStateRouterLocationURI } from '../../family'
import { RModal, RSortable } from '../utils'
import InterfaceForm from './InterfaceForm'
import { GoPencil, GoTrashcan, GoRocket, GoLock } from 'react-icons/lib/go'
import { getCurrentI... | 35.761905 | 130 | 0.596158 | false | true | true | false |
d002ca1786717976c811eaec1108c0f7478d7a76 | 271 | jsx | JSX | src/components/Button.jsx | Soulfull/jeeves | 7867ef6eae8872bfe1ec40911ee1ba723d2f57a4 | [
"Apache-2.0"
] | null | null | null | src/components/Button.jsx | Soulfull/jeeves | 7867ef6eae8872bfe1ec40911ee1ba723d2f57a4 | [
"Apache-2.0"
] | null | null | null | src/components/Button.jsx | Soulfull/jeeves | 7867ef6eae8872bfe1ec40911ee1ba723d2f57a4 | [
"Apache-2.0"
] | null | null | null | import React from 'react';
import { Link } from 'framework7-react';
const Button = (props) => (
<Link
className={`${props.className ? props.className : 'app-button'}`}
href={props.href}
>
{props.children}
</Link>
);
export default Button;
| 19.357143 | 71 | 0.605166 | false | true | false | true |
d002d129ba3076156d3bf0af39167dfc6707c5b2 | 1,329 | jsx | JSX | src/components/layouts/BoxedLayout/index.jsx | Scot3004/gatsby-atomic-tested-starter | 63534fe69efab84beeb1143cb0f9695931ec5c69 | [
"MIT"
] | 3 | 2019-02-04T12:54:09.000Z | 2021-02-20T16:40:24.000Z | src/components/layouts/BoxedLayout/index.jsx | Scot3004/gatsby-atomic-tested-starter | 63534fe69efab84beeb1143cb0f9695931ec5c69 | [
"MIT"
] | 48 | 2019-02-03T14:05:23.000Z | 2019-07-05T03:49:28.000Z | src/components/layouts/BoxedLayout/index.jsx | Scot3004/gatsby-atomic-tested-starter | 63534fe69efab84beeb1143cb0f9695931ec5c69 | [
"MIT"
] | 2 | 2019-02-03T14:37:21.000Z | 2019-02-06T23:42:34.000Z | import React from 'react';
import PropTypes from 'prop-types';
import { Helmet } from 'react-helmet';
import { ThemeProvider } from 'styled-components';
import Container from '../../atoms/Container';
import MainContainer from '../../atoms/MainContainer';
import PageGrid from '../../atoms/PageGrid';
import Navigation fr... | 29.533333 | 72 | 0.654628 | false | true | false | true |
d002d63b7873b000e2b921ad06e03f92d34cbeeb | 496 | jsx | JSX | src/App.jsx | jenwill/jpiper-takehome | 74b7b0d1a05188a7ea507a2dfa783cb0d4559784 | [
"MIT"
] | null | null | null | src/App.jsx | jenwill/jpiper-takehome | 74b7b0d1a05188a7ea507a2dfa783cb0d4559784 | [
"MIT"
] | null | null | null | src/App.jsx | jenwill/jpiper-takehome | 74b7b0d1a05188a7ea507a2dfa783cb0d4559784 | [
"MIT"
] | null | null | null | import React, { Component, Fragment } from 'react';
import { hot } from 'react-hot-loader';
import Header from './components/header/header.jsx';
import Breadcrumbs from './components/breadcrumbs/breadcrumbs.jsx';
import './styles/main.scss';
class App extends Component {
constructor(props) {
super(props);
th... | 20.666667 | 67 | 0.647177 | false | true | true | false |
d002d6e6026fe2cc64e42bf42d617c20ba8eb3cc | 2,347 | jsx | JSX | src/components/Footer/Footer.jsx | Abhinav1923/covilive | 56e447943c78a700775d3c3539a6150cb84ace1d | [
"MIT"
] | null | null | null | src/components/Footer/Footer.jsx | Abhinav1923/covilive | 56e447943c78a700775d3c3539a6150cb84ace1d | [
"MIT"
] | null | null | null | src/components/Footer/Footer.jsx | Abhinav1923/covilive | 56e447943c78a700775d3c3539a6150cb84ace1d | [
"MIT"
] | null | null | null | import { Stack, Typography, Link } from '@mui/material'
import { Box } from '@mui/system'
import React from 'react'
import IconButton from '@mui/material/IconButton';
import GitHubIcon from '@mui/icons-material/GitHub';
import LinkedInIcon from '@mui/icons-material/LinkedIn';
import { Dribbble } from '../../assets/imag... | 34.514706 | 136 | 0.505326 | false | true | false | true |
d002dced7a91ef12d95201b4d8405abf06b84cc8 | 434 | jsx | JSX | src/views/MessageDetail.jsx | Huierc/gallery-by-react | 08781ca6120a235b76b4ba0c18752b6e1b40bff3 | [
"MIT"
] | 2 | 2018-07-03T02:14:43.000Z | 2018-07-27T06:15:46.000Z | src/views/MessageDetail.jsx | Huierc/gallery-by-react | 08781ca6120a235b76b4ba0c18752b6e1b40bff3 | [
"MIT"
] | null | null | null | src/views/MessageDetail.jsx | Huierc/gallery-by-react | 08781ca6120a235b76b4ba0c18752b6e1b40bff3 | [
"MIT"
] | null | null | null | import React from 'react';
const message = [
{
id:1,
msg:'msg01',
msgdet:'首先它不用去判断渲染哪个'
},
{
id:2,
msg:'msg02',
msgdet:'首先它不用去判断渲染哪个2'
},
{
id:3,
msg:'msg03',
msgdet:'首先它不用去判断渲染哪个3'
}
]
export default function MessageDetail(props){
const {id} = props.match.params;
const con = message.find((m... | 12.764706 | 45 | 0.569124 | true | false | false | true |
d002e143bbc6e4d94da06d67264a482cccababa0 | 1,257 | jsx | JSX | src/components/CrearPost.jsx | Hernanarica/frontend | 0db4947ebc22ea64f664d4e208b20d7c790b43d5 | [
"MIT"
] | null | null | null | src/components/CrearPost.jsx | Hernanarica/frontend | 0db4947ebc22ea64f664d4e208b20d7c790b43d5 | [
"MIT"
] | null | null | null | src/components/CrearPost.jsx | Hernanarica/frontend | 0db4947ebc22ea64f664d4e208b20d7c790b43d5 | [
"MIT"
] | null | null | null | import { useState } from "react";
function CreatePost(props) {
const [ title, setTitle ] = useState("");
const [ text, setText ] = useState("");
function onCreatePostSubmit(e) {
e.preventDefault();
fetch('http://localhost:9001/user/api-post', {
method: "POST", headers: {
'Content-Type': 'applica... | 26.1875 | 93 | 0.607001 | true | false | false | true |
d002e8a71be02092f3e35f9e86dbb09f07f5695f | 2,072 | jsx | JSX | server/web/layouts/default.jsx | bitdivine/aqua | 3a00d782d4c053583ef0a4e1a481ee6d49f2eac3 | [
"MIT"
] | null | null | null | server/web/layouts/default.jsx | bitdivine/aqua | 3a00d782d4c053583ef0a4e1a481ee6d49f2eac3 | [
"MIT"
] | null | null | null | server/web/layouts/default.jsx | bitdivine/aqua | 3a00d782d4c053583ef0a4e1a481ee6d49f2eac3 | [
"MIT"
] | null | null | null | 'use strict';
const Navbar = require('./navbar.jsx');
const React = require('react');
const propTypes = {
activeTab: React.PropTypes.string,
children: React.PropTypes.node,
feet: React.PropTypes.node,
neck: React.PropTypes.node,
title: React.PropTypes.string
};
class DefaultLayout extends React.C... | 33.967213 | 92 | 0.433398 | false | true | true | false |
d002fb86b53f6f3cc8b38a29376381ee9e26a33e | 864 | jsx | JSX | ui/oce/corruption-risk/contracts/single/donuts/percent-pe-spending/popup.jsx | devgateway/oc-explorer | a7da0113ce07b701dc6d67cf5cc5655b046b1ae5 | [
"MIT"
] | 6 | 2016-05-18T20:10:35.000Z | 2017-09-22T21:41:56.000Z | ui/oce/corruption-risk/contracts/single/donuts/percent-pe-spending/popup.jsx | devgateway/ocua | ee4da36c2b26f0d03a826e118bfd0ca1bb3f6560 | [
"MIT"
] | 8 | 2017-01-12T19:21:12.000Z | 2021-06-04T22:02:18.000Z | ui/oce/corruption-risk/contracts/single/donuts/percent-pe-spending/popup.jsx | devgateway/ocua | ee4da36c2b26f0d03a826e118bfd0ca1bb3f6560 | [
"MIT"
] | 1 | 2018-12-18T03:21:16.000Z | 2018-12-18T03:21:16.000Z | // eslint-disable-next-line no-unused-vars
const POPUP_WIDTH = 300;
const POPUP_HEIGHT = 90;
class PercentPEPopup extends React.Component {
render() {
const { x, y, points, data } = this.props;
const total = data.get('total');
const { v, label } = points[0];
const left = x - (POPUP_WIDTH / 2) + 30;
... | 24 | 56 | 0.556713 | false | true | true | false |
d00306cf2aef443d3db72860362f65a6bc526f81 | 147 | jsx | JSX | t/run/199.template-arg-namespace/a.jsx | monkpit/JSX | a554cd42ea8cd414b1b4e01eb30381a4b1dcdc28 | [
"MIT"
] | 1,104 | 2015-01-01T03:03:50.000Z | 2022-03-31T05:20:14.000Z | t/run/199.template-arg-namespace/a.jsx | monkpit/JSX | a554cd42ea8cd414b1b4e01eb30381a4b1dcdc28 | [
"MIT"
] | 24 | 2015-02-06T15:39:37.000Z | 2021-02-07T11:27:02.000Z | t/run/199.template-arg-namespace/a.jsx | monkpit/JSX | a554cd42ea8cd414b1b4e01eb30381a4b1dcdc28 | [
"MIT"
] | 95 | 2015-01-30T19:41:51.000Z | 2021-10-23T00:37:15.000Z | import "common.jsx";
class Klass {
static function doit() : void {
Template.<Klass>.doit();
}
static function say() : void {
log "a";
}
}
| 13.363636 | 32 | 0.605442 | true | false | false | true |
d00308e41106fcbb9e82b0ed04593425f5dec2c1 | 1,276 | jsx | JSX | test/main/smoketest.spec.jsx | UmerMIB/WikiEduDashboard | cba3a3c4f47f38ce3671cfc0f1ae04713a97bc59 | [
"MIT"
] | 359 | 2015-01-30T03:39:20.000Z | 2022-03-27T10:27:22.000Z | test/main/smoketest.spec.jsx | UmerMIB/WikiEduDashboard | cba3a3c4f47f38ce3671cfc0f1ae04713a97bc59 | [
"MIT"
] | 3,140 | 2015-01-13T06:25:43.000Z | 2022-03-31T22:02:11.000Z | test/main/smoketest.spec.jsx | UmerMIB/WikiEduDashboard | cba3a3c4f47f38ce3671cfc0f1ae04713a97bc59 | [
"MIT"
] | 596 | 2015-01-24T06:18:15.000Z | 2022-03-31T21:28:32.000Z | import React from 'react';
import { mount } from 'enzyme';
import { MemoryRouter, Route } from 'react-router-dom';
import '../testHelper';
import { Course } from '../../app/assets/javascripts/components/course/course.jsx';
describe('top-level course component', () => {
it('loads without an error', () => {
globa... | 25.52 | 83 | 0.549373 | false | true | false | true |
d00309f8cf00dd19dc7f8b94b96018c755ca72d5 | 1,232 | jsx | JSX | docs/components/ColorsCollection.jsx | magnetis/astro | 2aa1aeb9dd1ef0ecf0db1c5fa3d122c8f56169d8 | [
"Apache-2.0"
] | 100 | 2019-01-22T17:08:54.000Z | 2022-03-10T14:25:27.000Z | docs/components/ColorsCollection.jsx | magnetis/astro | 2aa1aeb9dd1ef0ecf0db1c5fa3d122c8f56169d8 | [
"Apache-2.0"
] | 171 | 2019-01-29T12:37:40.000Z | 2022-02-26T09:55:32.000Z | docs/components/ColorsCollection.jsx | magnetis/astro | 2aa1aeb9dd1ef0ecf0db1c5fa3d122c8f56169d8 | [
"Apache-2.0"
] | 12 | 2019-04-11T15:34:47.000Z | 2022-03-10T14:25:26.000Z | import React from 'react';
import '../css/colors-collection.css';
const tints = [100, 200, 300, 400, 500, 600, 700, 800, 900, 1000];
const getTextColor = (tint, lightTextStart) =>
tint < lightTextStart ? 'var(--color-moon-1000)' : 'var(--color-space-100)';
const ColorSwatch = ({ family, tint, textColor }) => (
... | 24.64 | 78 | 0.598214 | false | true | false | true |
d0030aaae9ca24ffcf00aea39573b918131247e7 | 835 | jsx | JSX | src/components/Home.jsx | 3DPrintable/3DPrintable-Landing-Page | 3e0be4798d098766ae853e05186116a9ee26b43c | [
"MIT"
] | null | null | null | src/components/Home.jsx | 3DPrintable/3DPrintable-Landing-Page | 3e0be4798d098766ae853e05186116a9ee26b43c | [
"MIT"
] | null | null | null | src/components/Home.jsx | 3DPrintable/3DPrintable-Landing-Page | 3e0be4798d098766ae853e05186116a9ee26b43c | [
"MIT"
] | null | null | null | import React from "react";
// Imported Images (Need to change these images to desired ones)
import background from './images/bg/bg_3.png'; // Background image
const Home = () => {
return (
<body>
{/* Start Hero */}
<section class="bg-half-260 w-100 " style={{backgroundImage: "url(" + background... | 26.935484 | 93 | 0.588024 | true | false | false | true |
d0031cb30ecdd40725e31c8df006038fafc0ea12 | 6,561 | jsx | JSX | awx/ui_next/src/screens/Organization/OrganizationList/OrganizationList.jsx | austlane/awx | 5d5838fbab0f32539e03182927e09924db543644 | [
"Apache-2.0"
] | null | null | null | awx/ui_next/src/screens/Organization/OrganizationList/OrganizationList.jsx | austlane/awx | 5d5838fbab0f32539e03182927e09924db543644 | [
"Apache-2.0"
] | null | null | null | awx/ui_next/src/screens/Organization/OrganizationList/OrganizationList.jsx | austlane/awx | 5d5838fbab0f32539e03182927e09924db543644 | [
"Apache-2.0"
] | 3 | 2019-10-12T07:28:48.000Z | 2020-03-13T07:23:51.000Z | import React, { Component, Fragment } from 'react';
import { withRouter } from 'react-router-dom';
import { withI18n } from '@lingui/react';
import { t } from '@lingui/macro';
import { Card, PageSection } from '@patternfly/react-core';
import { OrganizationsAPI } from '@api';
import AlertModal from '@components/AlertM... | 28.402597 | 80 | 0.542295 | false | true | true | false |
d003398a1f4361b8c462c60e07c4195fb3535695 | 278 | jsx | JSX | src/main/js/EditorRoutes.jsx | reshma01/pipeline-editor | c0b9e82c7c2e10b70a60d9ad05c7a7bff474b0f6 | [
"MIT"
] | null | null | null | src/main/js/EditorRoutes.jsx | reshma01/pipeline-editor | c0b9e82c7c2e10b70a60d9ad05c7a7bff474b0f6 | [
"MIT"
] | null | null | null | src/main/js/EditorRoutes.jsx | reshma01/pipeline-editor | c0b9e82c7c2e10b70a60d9ad05c7a7bff474b0f6 | [
"MIT"
] | null | null | null | // @flow
import React from 'react';
import { Route } from 'react-router';
import { EditorPage } from './EditorPage';
export default
<Route>
<Route path="/organizations/:organization/pipeline-editor/(:pipeline/)(:branch/)" component={EditorPage} />
</Route>
;
| 23.166667 | 115 | 0.661871 | false | true | false | true |
d0033fa5b9fe269648409e7564a341aba75702a0 | 605 | jsx | JSX | src/components/Header/header.jsx | JoshMDiaz/diazre | 056c8a44b57934ca9c548f98795ccded004674e4 | [
"MIT"
] | null | null | null | src/components/Header/header.jsx | JoshMDiaz/diazre | 056c8a44b57934ca9c548f98795ccded004674e4 | [
"MIT"
] | null | null | null | src/components/Header/header.jsx | JoshMDiaz/diazre | 056c8a44b57934ca9c548f98795ccded004674e4 | [
"MIT"
] | null | null | null | import React from 'react'
import NavButton from '../Nav/NavButton'
import navContent from '../Nav/nav-content'
import Slide from 'react-reveal/Slide'
import Scroll from 'react-scroll'
const ScrollLink = Scroll.Link
const Header = () => (
<header className="padding">
<Slide down>
<NavButton />
<div cl... | 25.208333 | 85 | 0.6 | false | true | false | true |
d00347d99898771b893711b8f5195a24bfa2c185 | 3,324 | jsx | JSX | superset/assets/javascripts/components/CopyToClipboard.jsx | wxdublin/wxsplunk | 0b996d164b272bfc5d0f356635a14c8a4e8842bc | [
"Apache-2.0"
] | 1 | 2019-05-09T08:59:54.000Z | 2019-05-09T08:59:54.000Z | superset/assets/javascripts/components/CopyToClipboard.jsx | wxdublin/wxsplunk | 0b996d164b272bfc5d0f356635a14c8a4e8842bc | [
"Apache-2.0"
] | null | null | null | superset/assets/javascripts/components/CopyToClipboard.jsx | wxdublin/wxsplunk | 0b996d164b272bfc5d0f356635a14c8a4e8842bc | [
"Apache-2.0"
] | null | null | null | import React from 'react';
import PropTypes from 'prop-types';
import { Tooltip, OverlayTrigger, MenuItem } from 'react-bootstrap';
import { t } from '../locales';
const propTypes = {
copyNode: PropTypes.node,
getText: PropTypes.func,
onCopyEnd: PropTypes.func,
shouldShowText: PropTypes.bool,
text: PropTypes... | 23.083333 | 114 | 0.597473 | false | true | true | false |
d0035ccf7b44e742efc5a54086fd3a859ae5733b | 1,024 | jsx | JSX | src/components/manage/Widgets/CheckboxWidget.stories.jsx | MarcoCouto/volto | e3076634d8776c0fa2350f1b1db16950a47e6257 | [
"MIT"
] | null | null | null | src/components/manage/Widgets/CheckboxWidget.stories.jsx | MarcoCouto/volto | e3076634d8776c0fa2350f1b1db16950a47e6257 | [
"MIT"
] | null | null | null | src/components/manage/Widgets/CheckboxWidget.stories.jsx | MarcoCouto/volto | e3076634d8776c0fa2350f1b1db16950a47e6257 | [
"MIT"
] | null | null | null | import React from 'react';
import CheckboxWidget from './CheckboxWidget';
import Wrapper from '@plone/volto/storybook';
const CheckboxWidgetComponent = ({ children, ...args }) => {
const [value, setValue] = React.useState(false);
const onChange = (block, value) => setValue(value);
return (
<Wrapper location=... | 26.25641 | 75 | 0.592773 | false | true | false | true |
d00363175d366ce1f4a774c1179fc0fd423120db | 1,292 | jsx | JSX | src/components/landing/Goodreads/index.jsx | LizFedak/portfolio-site | b6e086a87894fc9f09dc71e11a89a45c8345ac68 | [
"MIT"
] | null | null | null | src/components/landing/Goodreads/index.jsx | LizFedak/portfolio-site | b6e086a87894fc9f09dc71e11a89a45c8345ac68 | [
"MIT"
] | null | null | null | src/components/landing/Goodreads/index.jsx | LizFedak/portfolio-site | b6e086a87894fc9f09dc71e11a89a45c8345ac68 | [
"MIT"
] | null | null | null | import React from 'react'
import { useStaticQuery, graphql } from 'gatsby'
import { Container, Card } from 'Common'
import { Header } from 'Theme'
import { Wrapper, Grid, Item, Content } from './styles'
export const Goodreads = () => {
const {allGoodreadsShelf} = useStaticQuery(graphql`
query shelfList {
allG... | 19.283582 | 85 | 0.528638 | true | false | false | true |
d0036ac5de2a50f596c57f04bbf212c8747ef0fd | 1,594 | jsx | JSX | frontend/src/components/counter/Counter.jsx | larsreed/training-react | 919b2b5d6afcb5fa234446b5ed4dcdc09e1a0b13 | [
"MIT"
] | null | null | null | frontend/src/components/counter/Counter.jsx | larsreed/training-react | 919b2b5d6afcb5fa234446b5ed4dcdc09e1a0b13 | [
"MIT"
] | null | null | null | frontend/src/components/counter/Counter.jsx | larsreed/training-react | 919b2b5d6afcb5fa234446b5ed4dcdc09e1a0b13 | [
"MIT"
] | null | null | null | import React, { Component } from "react";
import PropTypes from "prop-types";
import "./Counter.css";
export class Counter extends Component {
constructor() {
super();
this.state = {
counter: 0,
};
this.increment = this.increment.bind(this);
this.reset = this.reset.bind(this);
}
incre... | 22.771429 | 106 | 0.572773 | false | true | true | false |
d003749e57928a085e4ef16ee5affd19d614e214 | 4,775 | jsx | JSX | webapp/javascript/components/DateRangePicker.jsx | geoah/pyroscope | 79d563ecd2b7fd62beff1ffa6117ce22a4c215bb | [
"Apache-2.0"
] | null | null | null | webapp/javascript/components/DateRangePicker.jsx | geoah/pyroscope | 79d563ecd2b7fd62beff1ffa6117ce22a4c215bb | [
"Apache-2.0"
] | null | null | null | webapp/javascript/components/DateRangePicker.jsx | geoah/pyroscope | 79d563ecd2b7fd62beff1ffa6117ce22a4c215bb | [
"Apache-2.0"
] | null | null | null | import React, { useState } from "react";
import { useDispatch, useSelector } from "react-redux";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { faClock } from "@fortawesome/free-solid-svg-icons";
import DatePicker from "react-datepicker";
import OutsideClickHandler from "react-outside-click... | 33.626761 | 73 | 0.525864 | false | true | false | true |
d003892dace9e4e8a0ed4c37af9cc7bd106acd6e | 1,662 | jsx | JSX | packages/dx-react-scheduler-material-ui/src/templates/appointment-form/common/boolean-editor.test.jsx | Krijovnick/devextreme-reactive | a8686e49b76db88a086ab9378e08276bac30b8ba | [
"Apache-2.0"
] | 1,955 | 2017-05-16T12:16:27.000Z | 2022-03-27T17:29:41.000Z | packages/dx-react-scheduler-material-ui/src/templates/appointment-form/common/boolean-editor.test.jsx | Krijovnick/devextreme-reactive | a8686e49b76db88a086ab9378e08276bac30b8ba | [
"Apache-2.0"
] | 1,812 | 2017-05-17T07:33:28.000Z | 2022-03-24T00:11:06.000Z | packages/dx-react-scheduler-material-ui/src/templates/appointment-form/common/boolean-editor.test.jsx | Krijovnick/devextreme-reactive | a8686e49b76db88a086ab9378e08276bac30b8ba | [
"Apache-2.0"
] | 395 | 2017-05-16T11:01:00.000Z | 2022-03-15T05:47:50.000Z | import * as React from 'react';
import { createMount, createShallow } from '@devexpress/dx-testing';
import Checkbox from '@mui/material/Checkbox';
import { BooleanEditor } from './boolean-editor';
describe('AppointmentForm common', () => {
let mount;
let shallow;
const defaultProps = {
label: 'label',
o... | 25.181818 | 68 | 0.561372 | false | true | false | true |
d0038fb0fece7d2ec64f22775f3c1502ab904fa3 | 231 | jsx | JSX | src/containers/TodoListView.jsx | dollars0427/redux-study | 92cf589246488e0d7f993e4d4712d6dcdd343e59 | [
"MIT"
] | null | null | null | src/containers/TodoListView.jsx | dollars0427/redux-study | 92cf589246488e0d7f993e4d4712d6dcdd343e59 | [
"MIT"
] | null | null | null | src/containers/TodoListView.jsx | dollars0427/redux-study | 92cf589246488e0d7f993e4d4712d6dcdd343e59 | [
"MIT"
] | null | null | null | import { connect } from 'react-redux'
import TodoList from './TodoList'
const mapStateToProps = (state) => {
return { todos: state.todos }
}
const TodoListView = connect(mapStateToProps)(TodoList);
export default TodoListView;
| 23.1 | 56 | 0.74026 | false | true | false | true |
d003958eb95034ac461269555c84bd03689e7abe | 367 | jsx | JSX | src/components/common/ChooseButton/ChooseButton.jsx | sanzhardanybayev/ataEnd | f1f9f0ca1efc825d3fd25149e4ac7fc951f8adb5 | [
"MIT"
] | null | null | null | src/components/common/ChooseButton/ChooseButton.jsx | sanzhardanybayev/ataEnd | f1f9f0ca1efc825d3fd25149e4ac7fc951f8adb5 | [
"MIT"
] | null | null | null | src/components/common/ChooseButton/ChooseButton.jsx | sanzhardanybayev/ataEnd | f1f9f0ca1efc825d3fd25149e4ac7fc951f8adb5 | [
"MIT"
] | null | null | null | import React from 'react';
import styles from './style.scss';
class ChooseButton extends React.Component{
constructor(props){
super(props);
this.state = {
};
}
render(){
return(
<a className={styles.Choose} onClick={this.props.click} > Выбрать </a>
... | 12.233333 | 82 | 0.561308 | false | true | true | false |
d003a518949735079ad86460dcee69e91380bb25 | 1,262 | jsx | JSX | src/pages/HomePage/HomePage.jsx | prometheas/hesiod | 72d92658727264bac5f1eaf8810c0742eecf7689 | [
"MIT"
] | null | null | null | src/pages/HomePage/HomePage.jsx | prometheas/hesiod | 72d92658727264bac5f1eaf8810c0742eecf7689 | [
"MIT"
] | 7 | 2018-05-30T04:50:28.000Z | 2018-09-24T19:03:44.000Z | src/pages/HomePage/HomePage.jsx | prometheas/hesiod | 72d92658727264bac5f1eaf8810c0742eecf7689 | [
"MIT"
] | null | null | null | import React from 'react';
import PropTypes from 'prop-types';
class HomePage extends React.Component {
render() {
const { data } = this.props;
return (
<React.Fragment>
<header>
Some stuff
</header>
<div>
{data.posts && data.posts.length ?
(
... | 22.945455 | 67 | 0.385103 | false | true | true | false |
d003ad8b2c1f351a2a1b696e81160d44d3f8f5fa | 502 | jsx | JSX | src/editor/toolBar/blockSelectorControls.jsx | JumpLao/react-lz-editor | 02deab4b270ff33b376e20953e41d2a59b88209a | [
"MIT"
] | 1,029 | 2017-01-03T05:23:13.000Z | 2022-03-25T11:09:58.000Z | src/editor/toolBar/blockSelectorControls.jsx | WHKFZYX-Tool/react-lz-editor-whkfzyx | 72e72ed433d9346ba414d9b2bec1b97f8eb1d439 | [
"MIT"
] | 180 | 2017-02-20T02:35:27.000Z | 2022-02-10T15:43:50.000Z | src/editor/toolBar/blockSelectorControls.jsx | WHKFZYX-Tool/react-lz-editor-whkfzyx | 72e72ed433d9346ba414d9b2bec1b97f8eb1d439 | [
"MIT"
] | 214 | 2017-01-18T02:57:55.000Z | 2021-12-31T09:27:35.000Z | import React, {Component} from 'react';
import {Popconfirm,Icon} from 'antd';
class RemoveStyleControls extends Component {
constructor(props) {
super(props);
}
render() {
let className = 'RichEditor-styleButton';
return (
<div className="RichEditor-controls">
<span className={classNam... | 26.421053 | 69 | 0.645418 | false | true | true | false |
d003af8b2251ca339f03ff8ee5587590298e1b4b | 3,814 | jsx | JSX | geonode_mapstore_client/client/js/components/Menu/DropdownList.jsx | MuhweziDeo/geonode-mapstore-client | e8093e617035b3809065b0315800bee2aa170de2 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | geonode_mapstore_client/client/js/components/Menu/DropdownList.jsx | MuhweziDeo/geonode-mapstore-client | e8093e617035b3809065b0315800bee2aa170de2 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | geonode_mapstore_client/client/js/components/Menu/DropdownList.jsx | MuhweziDeo/geonode-mapstore-client | e8093e617035b3809065b0315800bee2aa170de2 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | /*
* Copyright 2021, GeoSolutions Sas.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
import React from 'react';
import PropTypes from 'prop-types';
import Message from '@mapstore/framework/components/... | 27.839416 | 81 | 0.570792 | false | true | false | true |
d003b00def8b0955bc466d3d48e4eb677f9cb02d | 5,042 | jsx | JSX | src/views/Adicionar_Pedido.jsx | KelvinGomes/NotaMais_Front | 78c4f6a2f51495023c89de6ad191b3e781c5fbf6 | [
"MIT"
] | null | null | null | src/views/Adicionar_Pedido.jsx | KelvinGomes/NotaMais_Front | 78c4f6a2f51495023c89de6ad191b3e781c5fbf6 | [
"MIT"
] | null | null | null | src/views/Adicionar_Pedido.jsx | KelvinGomes/NotaMais_Front | 78c4f6a2f51495023c89de6ad191b3e781c5fbf6 | [
"MIT"
] | null | null | null | import React from "react";
import axios from 'axios';
// reactstrap components
import {
Card, CardHeader, CardBody, Row, Col, Form, FormGroup, Input, Button, CardFooter
}
from "reactstrap";
class Adicionar_Pedido extends React.Component {
constructor(props) {
super(props);
this.state = {
order: {
... | 35.758865 | 154 | 0.454383 | false | true | true | false |
d003c09a2b9a663820db3e53d47f247e41950932 | 447 | jsx | JSX | src/widgets/notification/Notification.jsx | alexkolov/erp-view-example | ec4e804618b90189451eaecdab4edc4d10984ffa | [
"MIT"
] | null | null | null | src/widgets/notification/Notification.jsx | alexkolov/erp-view-example | ec4e804618b90189451eaecdab4edc4d10984ffa | [
"MIT"
] | null | null | null | src/widgets/notification/Notification.jsx | alexkolov/erp-view-example | ec4e804618b90189451eaecdab4edc4d10984ffa | [
"MIT"
] | null | null | null | import React from 'react';
import Alert from '@material-ui/lab/Alert';
import './notification.scss';
export const Notifications = ({ notifications }) => {
return (
<div className='notifications'>
{
notifications.map(
(el, index) => (
<Alert
severity='error'
... | 19.434783 | 53 | 0.451902 | false | true | false | true |
d003c19f3c661694acba1c7745f925fbb619542b | 20,034 | jsx | JSX | app/js/components/crime.jsx | codeforkansascity/n-hood | 2ed447240137712a88da947d7cd0261ee010a708 | [
"MIT"
] | 21 | 2015-06-06T15:40:08.000Z | 2020-12-04T14:48:56.000Z | app/js/components/crime.jsx | codeforkansascity/n-hood | 2ed447240137712a88da947d7cd0261ee010a708 | [
"MIT"
] | 154 | 2015-06-09T03:51:05.000Z | 2020-12-31T00:35:52.000Z | app/js/components/crime.jsx | codeforkansascity/n-hood | 2ed447240137712a88da947d7cd0261ee010a708 | [
"MIT"
] | 10 | 2015-06-06T23:15:24.000Z | 2018-10-15T22:09:49.000Z | import React from 'react';
import { render } from 'react-dom';
import axios from 'axios';
import Datetime from 'react-datetime';
import { toast } from 'react-toastify';
import 'react-datetime/css/react-datetime.css';
import CrimeStatisticsTable from './crime_statistics_table';
import '../modernizr-bundle';
import momen... | 33.614094 | 127 | 0.526405 | false | true | true | false |
d003c7efafea2052be95514143dadceb4d8ec974 | 1,793 | jsx | JSX | src/containers/tips-library.jsx | FeatureToggleStudy/code4maus | 6cb4a8707998ec399b2c17b096082de44e68617b | [
"BSD-3-Clause"
] | null | null | null | src/containers/tips-library.jsx | FeatureToggleStudy/code4maus | 6cb4a8707998ec399b2c17b096082de44e68617b | [
"BSD-3-Clause"
] | null | null | null | src/containers/tips-library.jsx | FeatureToggleStudy/code4maus | 6cb4a8707998ec399b2c17b096082de44e68617b | [
"BSD-3-Clause"
] | null | null | null | import bindAll from 'lodash.bindall';
import PropTypes from 'prop-types';
import React from 'react';
import decksLibraryContent from '../lib/libraries/decks/index.jsx';
import LibraryComponent from '../components/library/library.jsx';
import { connect } from 'react-redux';
import {
closeTipsLibrary,
} from '../... | 25.614286 | 89 | 0.620747 | false | true | false | true |
d003e484dbaae3bce3c9c78196eb455ff68689d8 | 1,599 | jsx | JSX | app/javascript/src/javascript/PatientFilter.jsx | glinesbdev/patient-tracker | cd21f42bb72c2fc872da8b1f3024cedf051ee84a | [
"MIT"
] | null | null | null | app/javascript/src/javascript/PatientFilter.jsx | glinesbdev/patient-tracker | cd21f42bb72c2fc872da8b1f3024cedf051ee84a | [
"MIT"
] | 5 | 2021-03-10T18:02:05.000Z | 2022-02-13T13:08:08.000Z | app/javascript/src/javascript/PatientFilter.jsx | glinesbdev/patient-tracker | cd21f42bb72c2fc872da8b1f3024cedf051ee84a | [
"MIT"
] | null | null | null | import React, { useRef, useEffect } from 'react';
import { useDispatch, useSelector } from 'react-redux';
import { setCurrentPatients, setFilter } from './store';
const PatientFilter = () => {
const dispatch = useDispatch();
const btnGroupRef = useRef();
const store = useSelector(state => ({
page: state.pati... | 31.98 | 95 | 0.646029 | false | true | false | true |
d003ee4445288f0cb4a0d4866e56bcf9ccae2f44 | 752 | jsx | JSX | examples/benchmark/client/view.jsx | npmmirror/beidou | 4e2a2fbb8e8879e3983b3a36673effc27222c2da | [
"MIT"
] | 2,922 | 2017-06-13T09:42:37.000Z | 2022-03-23T07:51:05.000Z | examples/benchmark/client/view.jsx | npmmirror/beidou | 4e2a2fbb8e8879e3983b3a36673effc27222c2da | [
"MIT"
] | 281 | 2017-12-16T16:31:57.000Z | 2022-03-01T13:10:58.000Z | examples/benchmark/client/view.jsx | npmmirror/beidou | 4e2a2fbb8e8879e3983b3a36673effc27222c2da | [
"MIT"
] | 346 | 2017-07-17T13:16:08.000Z | 2022-03-31T09:11:37.000Z | import 'babel-polyfill';
import React from 'react';
import Recursive from './recursive';
export default class View extends React.Component {
static doctype = '<!DOCTYPE html>';
render() {
const { helper, ctx } = this.props;
const { depth = 3, breadth = 10, repeat = 1 } = ctx.query;
return (
<htm... | 25.931034 | 68 | 0.515957 | false | true | true | false |
d003f56b10b059abea55ba2973c61fdb8c51f1be | 7,286 | jsx | JSX | nmr/js/nmrsignal.jsx | NPellet/jsGraph | 84356748c45205cc246f16774a9fb37aaf350e57 | [
"MIT"
] | 24 | 2015-08-19T12:01:28.000Z | 2020-04-06T13:50:40.000Z | nmr/js/nmrsignal.jsx | NPellet/jsGraph | 84356748c45205cc246f16774a9fb37aaf350e57 | [
"MIT"
] | 247 | 2015-01-08T13:57:53.000Z | 2022-01-25T11:54:19.000Z | nmr/js/nmrsignal.jsx | NPellet/jsGraph | 84356748c45205cc246f16774a9fb37aaf350e57 | [
"MIT"
] | 10 | 2015-12-03T01:22:23.000Z | 2017-12-17T01:14:17.000Z | import React from "react";
import Graph from "../../src/graph";
import PropTypes from 'prop-types';
import Assignment from './assignment.js'
import FormCoupling from './forms/form_coupling/formcoupling.jsx'
import FormArea from './formarea.jsx'
import extend from 'extend';
var levelHeight = 12;
var colors=[ '#ca072c',... | 23.888525 | 163 | 0.583722 | true | false | true | false |
d003fed4e5a3a4ca60b77a5fa3ac00ee6f82c5ec | 3,360 | jsx | JSX | src/Config/WebPack/Utils/MultiConfigLoader.jsx | ausesims/rdx | 8eff989986c588080fae99074b266573408ec429 | [
"MIT"
] | 23 | 2016-05-22T01:03:45.000Z | 2020-07-06T09:15:13.000Z | src/Config/WebPack/Utils/MultiConfigLoader.jsx | ausesims/rdx | 8eff989986c588080fae99074b266573408ec429 | [
"MIT"
] | 34 | 2016-03-10T14:59:41.000Z | 2019-02-13T18:15:59.000Z | src/Config/WebPack/Utils/MultiConfigLoader.jsx | ausesims/rdx | 8eff989986c588080fae99074b266573408ec429 | [
"MIT"
] | 2 | 2016-05-22T12:39:17.000Z | 2017-07-18T15:05:30.000Z | import Path from 'path';
import Glob from 'glob';
export default class MultiConfigLoader {
static getConfigByFullPath (fullPath, contextPath, absOutputPath, asObject = false, compileTarget) {
let target = asObject ? {} : [];
let paths = [];
try {
const pathPattern = Path.join(
fullPath,
... | 23.661972 | 102 | 0.528869 | false | true | false | true |
d0040a0b75a0bfa0867b5a32d6f1002530584279 | 898 | jsx | JSX | src/views/unauthenticated_app.jsx | BuildForSDG/Team-083-Frontend | e6675af44aa4504d04b2772e444579ffebb6bcb7 | [
"MIT"
] | null | null | null | src/views/unauthenticated_app.jsx | BuildForSDG/Team-083-Frontend | e6675af44aa4504d04b2772e444579ffebb6bcb7 | [
"MIT"
] | 27 | 2020-05-06T16:50:11.000Z | 2020-07-06T16:29:49.000Z | src/views/unauthenticated_app.jsx | BuildForSDG/Team-083-Frontend | e6675af44aa4504d04b2772e444579ffebb6bcb7 | [
"MIT"
] | 3 | 2020-05-18T09:08:56.000Z | 2020-05-25T23:51:10.000Z | import React from 'react';
import { Router } from '@reach/router';
import Layout from './Unauthenticated/Layout';
import Index from './Unauthenticated/Index';
import Register from './Unauthenticated/Register';
import Login from './Unauthenticated/Login';
import PasswordReset from './Unauthenticated/PasswordReset';
imp... | 27.212121 | 68 | 0.642539 | false | true | false | true |
d0041917104c4b3e879c76aaa4d9b3e952fcc58c | 7,885 | jsx | JSX | ui/src/pages/SignIn/index.jsx | Danes99/journalism | eca666f7499158d3689560bd55ed4dc7a062155a | [
"Apache-2.0"
] | null | null | null | ui/src/pages/SignIn/index.jsx | Danes99/journalism | eca666f7499158d3689560bd55ed4dc7a062155a | [
"Apache-2.0"
] | null | null | null | ui/src/pages/SignIn/index.jsx | Danes99/journalism | eca666f7499158d3689560bd55ed4dc7a062155a | [
"Apache-2.0"
] | null | null | null | // Import pre-installed modules
import React, { useState } from 'react'
// Import downloaded modules
import validator from 'validator'
import { NavLink, useHistory } from 'react-router-dom'
// Import SVG
import logo from '../../svg/workflow-mark-indigo-600.svg'
// Import Config
import { DAO_ENDPOINT_USER_LOGIN } fro... | 41.282723 | 287 | 0.544959 | false | true | false | true |
d0043407bd84a4885e9b3e8f14ab7b3f6f6885e9 | 354 | jsx | JSX | resources/assets/js/components/front/pages/player-signup/index.jsx | phuongit0301/tournapp | 9970c57d2ebc9b5eb8d9b84f44d4e6e45f69a2c4 | [
"MIT"
] | null | null | null | resources/assets/js/components/front/pages/player-signup/index.jsx | phuongit0301/tournapp | 9970c57d2ebc9b5eb8d9b84f44d4e6e45f69a2c4 | [
"MIT"
] | null | null | null | resources/assets/js/components/front/pages/player-signup/index.jsx | phuongit0301/tournapp | 9970c57d2ebc9b5eb8d9b84f44d4e6e45f69a2c4 | [
"MIT"
] | null | null | null | import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import { BrowserRouter, Route } from 'react-router-dom'
import PlayerSignUpComponents from './PlayerSignUpComponents' ;
class PlayerSignUp extends Component {
render() {
return (
<PlayerSignUpComponents />
);
... | 27.230769 | 63 | 0.686441 | false | true | true | false |
d0044de145d5d607e16a5d8448f9b49e2dc18535 | 1,312 | jsx | JSX | src/components/KrakenSocket/index.jsx | stellar-fox/cygnus | 10c847228f68ab4ea6f16e0527cd53c1e0353d84 | [
"Apache-2.0"
] | 5 | 2018-04-29T14:55:47.000Z | 2019-12-30T23:25:03.000Z | src/components/KrakenSocket/index.jsx | stellar-fox/cygnus | 10c847228f68ab4ea6f16e0527cd53c1e0353d84 | [
"Apache-2.0"
] | 1 | 2018-03-14T16:02:42.000Z | 2018-03-14T16:38:23.000Z | src/components/KrakenSocket/index.jsx | stellar-fox/cygnus | 10c847228f68ab4ea6f16e0527cd53c1e0353d84 | [
"Apache-2.0"
] | 4 | 2018-03-15T01:16:16.000Z | 2019-04-20T09:49:53.000Z | import { isArray } from "@xcmats/js-toolbox"
import { config } from "../../config"
export default (currency, fnModule) => {
const STATUS = {
connecting: 0,
opened: 1,
online: 2,
subscribed: 3,
closed: 4,
error: 5,
}
fnModule.setSocket({
... | 22.237288 | 63 | 0.491616 | false | true | false | true |
d00454ba8d5915dbd604bebecfd9809aeb7ec292 | 801 | jsx | JSX | pages/_error.jsx | mpalmr/mpaste | f0570c9aefeb44fef8c44dcbe94ddc82ff2fbf98 | [
"Apache-2.0"
] | 1 | 2019-11-07T00:58:31.000Z | 2019-11-07T00:58:31.000Z | pages/_error.jsx | mpalmr/mpaste | f0570c9aefeb44fef8c44dcbe94ddc82ff2fbf98 | [
"Apache-2.0"
] | 8 | 2020-09-06T13:58:26.000Z | 2022-02-26T01:41:09.000Z | pages/_error.jsx | mpalmr/yapb | f0570c9aefeb44fef8c44dcbe94ddc82ff2fbf98 | [
"Apache-2.0"
] | null | null | null | import React from 'react';
import PropTypes from 'prop-types';
function ErrorPage(props) {
return (
<>
<h1>An error has occured</h1>
<p>{props.message}</p>
<style jsx global>
{`
main {
display: flex;
flex-direction: column;
align-items: ce... | 16.346939 | 61 | 0.573034 | false | true | false | true |
d00456cd642703e2d0081bec9d7c1a92e9a9a348 | 4,276 | jsx | JSX | src/components/PaperStore/PaperStore.jsx | caitlincraw/dunder-mifflin | 1ed99f86a16381f95940633633f4c8c937ee7c7b | [
"MIT"
] | null | null | null | src/components/PaperStore/PaperStore.jsx | caitlincraw/dunder-mifflin | 1ed99f86a16381f95940633633f4c8c937ee7c7b | [
"MIT"
] | 25 | 2021-01-06T02:04:40.000Z | 2021-01-25T18:20:35.000Z | src/components/PaperStore/PaperStore.jsx | caitlincraw/dunder-mifflin | 1ed99f86a16381f95940633633f4c8c937ee7c7b | [
"MIT"
] | null | null | null | import React from 'react';
import Filter from './Filter';
import Products from './Products';
import Cart from './Cart';
import './PaperStore.css';
import { fetchProducts, addProduct, removeProduct, sortProducts } from '../../redux/actions/productActions';
import { connect } from "react-redux";
import { Redirect } from ... | 30.542857 | 108 | 0.524556 | false | true | true | false |
d0045c32de0883e8b65e6e222d3d2f0f72394313 | 338 | jsx | JSX | src/components/common/input.jsx | muteshi/movies-rental-app | c9511ce217e0c742ee1cd9cb6a30ecf1d954a29f | [
"MIT"
] | null | null | null | src/components/common/input.jsx | muteshi/movies-rental-app | c9511ce217e0c742ee1cd9cb6a30ecf1d954a29f | [
"MIT"
] | null | null | null | src/components/common/input.jsx | muteshi/movies-rental-app | c9511ce217e0c742ee1cd9cb6a30ecf1d954a29f | [
"MIT"
] | null | null | null | import React from "react";
const Input = ({ error, name, label, ...rest }) => {
return (
<div className="form-group">
<label htmlFor={name} />
<input {...rest} id={name} name={name} className="form-control" />
{error && <div className="alert alert-danger">{error}</div>}
</div>
);
};
expo... | 24.142857 | 72 | 0.579882 | false | true | false | true |
d004656f5be79517ea9a1e317b6a03352a473bb7 | 1,099 | jsx | JSX | src/pages/options/sync-setting.jsx | Kenton1989/SecondLock | 06f718dd6d9b899b235563bfd9aad8726aff6004 | [
"MIT"
] | 2 | 2021-02-01T13:57:13.000Z | 2021-03-05T10:25:05.000Z | src/pages/options/sync-setting.jsx | Kenton1989/timelock-chrome | 06f718dd6d9b899b235563bfd9aad8726aff6004 | [
"MIT"
] | null | null | null | src/pages/options/sync-setting.jsx | Kenton1989/timelock-chrome | 06f718dd6d9b899b235563bfd9aad8726aff6004 | [
"MIT"
] | null | null | null | import React, { Component } from "react";
import { api } from "../../common/api";
import { $t, formatBytes } from "../../common/utility";
export default class SyncSetting extends Component {
constructor(props) {
super(props);
this.state = {
usedSyncSpace: 0,
};
this.updateUsedSyncSpace = this... | 23.382979 | 69 | 0.640582 | false | true | true | false |
d0047ad09d1abfe0cc22fc44ca47f81f8d505282 | 770 | jsx | JSX | react/Media/Media.jsx | drazik/cozy-ui | aa3b72628575358c5f06de95b0bc34b3571065ed | [
"MIT"
] | null | null | null | react/Media/Media.jsx | drazik/cozy-ui | aa3b72628575358c5f06de95b0bc34b3571065ed | [
"MIT"
] | null | null | null | react/Media/Media.jsx | drazik/cozy-ui | aa3b72628575358c5f06de95b0bc34b3571065ed | [
"MIT"
] | null | null | null | import React from 'react'
import styles from './Media.styl'
import cx from 'classnames'
/**
* Useful to align image/icon and content.
*/
export const Media = ({ children, className, align, ...rest }) => {
return (
<div
className={cx(
styles.media,
className,
align ? styles['media-... | 20.263158 | 71 | 0.551948 | false | true | false | true |
d004825afcac2783b36163ccdf350bce9015bc9f | 3,970 | jsx | JSX | src/components/Modal/old/IssueModal.jsx | peerplays-network/peerplays-core-gui | e122f958277c230e08792206c0515ffd1f4df1a9 | [
"MIT"
] | 18 | 2019-06-28T00:53:44.000Z | 2020-12-14T19:54:37.000Z | src/components/Modal/old/IssueModal.jsx | peerplays-network/peerplays-core-gui | e122f958277c230e08792206c0515ffd1f4df1a9 | [
"MIT"
] | 67 | 2019-04-02T16:33:21.000Z | 2022-03-25T18:47:30.000Z | src/components/Modal/old/IssueModal.jsx | peerplays-network/peerplays-core-gui | e122f958277c230e08792206c0515ffd1f4df1a9 | [
"MIT"
] | 7 | 2018-12-09T14:36:24.000Z | 2022-02-05T07:05:05.000Z | import React from 'react';
import Translate from 'react-translate-component';
import ChainTypes from '../../Utility/ChainTypes';
import BindToChainState from '../../Utility/BindToChainState';
import utils from '../../../common/utils';
import counterpart from 'counterpart';
import AssetActions from 'actions/AssetActions... | 30.305344 | 87 | 0.520655 | false | true | true | false |
d0048c350bd29994cac387a00aecfd1358a21b8a | 4,094 | jsx | JSX | src/components/App/index.jsx | GilbertMolina/Reacttr-Firebase | 2b316cea84d58920d0dd430461dcb579aced8122 | [
"MIT"
] | null | null | null | src/components/App/index.jsx | GilbertMolina/Reacttr-Firebase | 2b316cea84d58920d0dd430461dcb579aced8122 | [
"MIT"
] | null | null | null | src/components/App/index.jsx | GilbertMolina/Reacttr-Firebase | 2b316cea84d58920d0dd430461dcb579aced8122 | [
"MIT"
] | null | null | null | import React, { Component } from 'react'
import { HashRouter, Match } from 'react-router'
import Firebase from 'firebase'
import 'normalize-css'
import styles from './app.css'
import Header from '../Header'
import Main from '../Main'
import Profile from '../Profile'
import Login from '../Login'
class App extends Com... | 33.834711 | 136 | 0.404739 | false | true | true | false |
d004a04d6c0f23e2bae1e0be5530ddab97057420 | 4,209 | jsx | JSX | src/components/RegisterForm/RegisterForm.jsx | team-prstmw/HousesForSaleSearcher | 8051e1ef523e7e234287c80bff49c9716511c69b | [
"MIT"
] | null | null | null | src/components/RegisterForm/RegisterForm.jsx | team-prstmw/HousesForSaleSearcher | 8051e1ef523e7e234287c80bff49c9716511c69b | [
"MIT"
] | 11 | 2022-01-18T22:40:57.000Z | 2022-02-10T16:25:31.000Z | src/components/RegisterForm/RegisterForm.jsx | team-prstmw/HousesForSaleSearcher | 8051e1ef523e7e234287c80bff49c9716511c69b | [
"MIT"
] | null | null | null | import { yupResolver } from '@hookform/resolvers/yup';
import Visibility from '@mui/icons-material/Visibility';
import VisibilityOff from '@mui/icons-material/VisibilityOff';
import Box from '@mui/material/Box';
import Button from '@mui/material/Button';
import FormControl from '@mui/material/FormControl';
import FormH... | 32.882813 | 112 | 0.620337 | false | true | false | true |
d004aef9c5ba1bac3726b0989f7b27d6f27e389a | 2,067 | jsx | JSX | src/containers/ArtistContainer.jsx | vahidd/spotify-react-redux | f147ab5227bd43c2ddb969a684318185f6e6a495 | [
"MIT"
] | 3 | 2017-12-09T14:39:44.000Z | 2019-01-03T11:37:42.000Z | src/containers/ArtistContainer.jsx | vahidd/spotify-react-redux | f147ab5227bd43c2ddb969a684318185f6e6a495 | [
"MIT"
] | null | null | null | src/containers/ArtistContainer.jsx | vahidd/spotify-react-redux | f147ab5227bd43c2ddb969a684318185f6e6a495 | [
"MIT"
] | 1 | 2019-06-26T08:54:31.000Z | 2019-06-26T08:54:31.000Z | import React from 'react';
import { connect } from 'react-redux';
import { withRouter } from 'react-router-dom';
import { fetchArtist, fetchSimilarArtists, fetchArtistAlbums } from 'Actions/ArtistActions';
import { fetchFollowingStatus, follow, unfollow } from 'Actions/UserActions';
import {
getArtist,
getIsFollow... | 32.809524 | 92 | 0.67731 | false | true | false | true |
d004c19d46d69b64a77acf672d67f904f49d470f | 210 | jsx | JSX | front/src/components/game/Try.jsx | kkoon9/Full-Stack-With-javascript | 86946c3572b5fbc39f91aa55daa20ee2468d1eb1 | [
"MIT"
] | null | null | null | front/src/components/game/Try.jsx | kkoon9/Full-Stack-With-javascript | 86946c3572b5fbc39f91aa55daa20ee2468d1eb1 | [
"MIT"
] | 2 | 2021-04-04T06:20:43.000Z | 2021-10-06T20:01:45.000Z | front/src/components/game/Try.jsx | kkoon9/Full-Stack-With-javascript | 86946c3572b5fbc39f91aa55daa20ee2468d1eb1 | [
"MIT"
] | null | null | null | import React, { Fragment } from 'react';
const Try = ({ tryInfo }) => {
return (
<Fragment>
<div>
{tryInfo.try} : {tryInfo.result}
</div>
</Fragment>
);
};
export default Try;
| 15 | 40 | 0.52381 | false | true | false | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.