target
stringlengths
5
300
feat_repo_name
stringlengths
6
76
text
stringlengths
26
1.05M
frontend/src/Components/Loading/LoadingMessage.js
geogolem/Radarr
import React from 'react'; import styles from './LoadingMessage.css'; const messages = [ 'Downloading more RAM', 'Now in Technicolor', 'Previously on Radarr...', 'Bleep Bloop.', 'Locating the required gigapixels to render...', 'Spinning up the hamster wheel...', 'At least you\'re not on hold', 'Hum som...
src/components/examples/ClockHook.js
heartziq/Allimnee
import React from 'react'; function Main() { const [date, setDate] = React.useState(new Date()); let timerId; const color = [ "#ff5733", "#900C3F", "#33ceff", " #f333ff ", "#34b636", " #e24faf ", " #e24fa4 ", " #32a065 ", " #9bd32b ", " #d36d2b " ]; React.useEffect((...
src/svg-icons/action/question-answer.js
frnk94/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionQuestionAnswer = (props) => ( <SvgIcon {...props}> <path d="M21 6h-2v9H6v2c0 .55.45 1 1 1h11l4 4V7c0-.55-.45-1-1-1zm-4 6V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14l4-4h10c.55 0 1-.45 1-1z"/> </SvgIcon> ); ...
frontend/src/js/test/components/in-game/QuestionComponent.spec.js
udontknowmeapp/udontknowme
import expect from 'expect'; import React from 'react'; import TestUtils, { Simulate } from 'react-addons-test-utils'; import { setupRender, setupShallowRender } from '../../helpers'; import QuestionComponent from '../../../components/in-game/QuestionComponent'; describe('components/in-game/QuestionComponent', () => {...
ajax/libs/reactive-coffee/1.2.2/reactive-coffee.min.js
DaAwesomeP/cdnjs
(function(){var a,b=[].slice,c={}.hasOwnProperty,d=function(a,b){function d(){this.constructor=a}for(var e in b)c.call(b,e)&&(a[e]=b[e]);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a};a=function(a,c){var e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V...
src/components/music/Staff.js
Tomczik76/gradus-ad-parnassum-front-end
import React, { Component } from 'react'; export default class Staff extends Component { render() { const lineStyle = {stroke:"rgb(0,0,0)", strokeWidth:"1.5"}; return ( <svg height="150" width="400"> <line x1="1" y1="30" x2="1" y2="110" style={lineStyle} /> <line x1="0" y1="30" x2="400...
client/components/Navbar.js
escape-hatch/escapehatch
import React from 'react'; import { Link } from 'react-router'; module.exports = ({ loggedIn, handleClick }) => ( <div className="panel panel-default"> <div className="panel-heading nav navbar-default"> <div className="navBar row"> <div className="col-xs-4"> <h2 className="pan...
src/components/bio.js
nprail/blog
import React from 'react' import { useStaticQuery, graphql } from 'gatsby' import Image from 'gatsby-image' function Bio() { const { site, avatar } = useStaticQuery( graphql` query BioQuery { avatar: file(absolutePath: { regex: "/avatar.png/" }) { childImageSharp { fixed(width...
ajax/libs/forerunnerdb/1.3.674/fdb-all.min.js
nolsherry/cdnjs
!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.ex...
react/EducationIcon/EducationIcon.iconSketch.js
seekinternational/seek-asia-style-guide
import React from 'react'; import EducationIcon from './EducationIcon'; export const symbols = { 'EducationIcon': <EducationIcon /> };
src/component/NotFound.js
MijaelWatts/calzaweb
import React, { Component } from 'react'; import HeaderLogin from './login/HeaderLogin'; import FooterLogin from './login/FooterLogin'; import '../css/App.css'; import image from '../img/error-img.png'; function OnlyChrome () { return( <div className="App content"> <img src={ image } alt="chrome" /> <br...
ui/src/pages/PeopleManagePage/IdentifiersViewer/SavedRow.js
LearningLocker/learninglocker
import React from 'react'; import { compose, withProps } from 'recompose'; import styled from 'styled-components'; import { withModel } from 'ui/utils/hocs'; import { identifierTypeDisplays } from '../constants'; import IfiViewer from '../IfiViewer'; import { tableDataStyle } from './tableDataStyle'; const TableData =...
client/components/keyvalue/KeyValuePairAdder.js
axax/lunuc
import React from 'react' import PropTypes from 'prop-types' import {Row, Col, TextField, Button} from 'ui/admin' /* Component with a state */ export default class KeyValuePairAdder extends React.Component { constructor(props) { super(props) this.state = {key: '', value: ''} } // arrow function work here thank...
src/create.js
GraphGiraffes/PartyStarty
import React from 'react'; import ReactDOM from 'react-dom'; import Search from './search'; import Navbar from './navbar'; import {Link} from 'react-router-dom'; import Home from './home' import axios from 'axios'; class Create extends React.Component { constructor(props){ super(props) this.state = { title: ""...
src/routes/Oppgave2Fasit/components/Oppgave2View.js
andreasnc/summer-project-tasks-2017
import React from 'react'; import StarWarsCharacters from './StarWarsCharacters'; import Opppgave2Text from './Oppgave2Text'; const characters = require('../data.json'); const Oppgave2View = () => ( <div> <h4>Oppgave 2</h4> <Opppgave2Text /> <StarWarsCharacters characters={characters} /> </di...
src/components/MainNav/MainNav.js
honeypotio/techmap
import React, { Component } from 'react'; import Item from './Item'; import Button from './Button'; import Content from './Content'; import Drawer from '../../components/Drawer'; import FloatingActionButton from '../../components/FloatingActionButton'; import Icon from '../../components/Icon'; class MainNav extends Co...
ajax/libs/react-highcharts/16.0.0/ReactHighstock.src.js
seogi1004/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("highcharts/highstock")); else if(typeof define === 'function' && define.amd) define(["react", "highcharts/highstock"], factory); else if(ty...
src/app/budget/BudgetSummaryDetails.js
cityofasheville/simplicity2
import React from 'react'; import PropTypes from 'prop-types'; import BudgetDetailsTable from './BudgetDetailsTable'; import BudgetDetailsTreemap from './BudgetDetailsTreemap'; import PageHeader from '../../shared/PageHeader'; import ButtonGroup from '../../shared/ButtonGroup'; import LinkButton from '../../shared/Link...
packages/@lyra/components/src/textareas/DefaultTextArea.js
VegaPublish/vega-studio
import PropTypes from 'prop-types' import React from 'react' import styles from 'part:@lyra/components/textareas/default-style' import IoAndroidClose from 'part:@lyra/base/close-icon' const NOOP = () => {} export default class DefaultTextArea extends React.Component { static propTypes = { onChange: PropTypes.fun...
src/components/CollectivesForRedeemPageWithData.js
OpenCollective/frontend
import React from 'react'; import PropTypes from 'prop-types'; import Error from './Error'; import withIntl from '../lib/withIntl'; import { graphql } from 'react-apollo'; import gql from 'graphql-tag'; import CollectiveCardWithRedeem from './CollectiveCardWithRedeem'; import { Button } from 'react-bootstrap'; import {...
src/containers/Quizzes/QuizWrap.js
ReactPoland/react-community
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { LoadingScreen, RefreshButton } from 'components'; class QuizWrap extends Component { static propTypes = { children: PropTypes.element.isRequired, loading: PropTypes.bool.isRequired, loaded: PropTypes.bool.isRequired, ...
lib/components/index.js
ryanbahniuk/isomorphic-app-boilerplate
'use strict' import React from 'react'; import store from '../store'; import { incrementClicks } from '../actions/actions'; const Index = React.createClass({ propTypes: { numClicks: React.PropTypes.number.isRequired }, handleClick: function() { const updatedClicks = this.props.numClicks + 1; store....
app/components/AddUser/UserSelect/index.js
prudhvisays/newsb
import React from 'react'; import Select, { Option } from 'rc-select'; import 'rc-select/assets/index.css'; import { session, userRole, userRoleType } from '../../../Api/ApiConstants'; export default class UserSelect extends React.Component { //eslint-disable-line constructor(props) { super(props); this.stat...
tests/Element-spec.js
RMSAuto/formsy-react
import React from 'react'; import TestUtils from 'react-addons-test-utils'; import PureRenderMixin from 'react-addons-pure-render-mixin'; import sinon from 'sinon'; import Formsy from './..'; import TestInput, { InputFactory } from './utils/TestInput'; import immediate from './utils/immediate'; export default { 's...
stories/form/form.js
lanyuechen/dh-component
import React from 'react'; import { Input, Form, Button, Select, Row, Col } from '../../src'; const formItemLayout = { labelCol: { xs: { span: 24 }, sm: { span: 6 }, }, wrapperCol: { xs: { span: 24 }, sm: { span: 14 }, }, }; class FormDemo extends React.Component { constructor(props) { su...
ajax/libs/rxjs/2.1.2/rx.js
fatso83/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. (function (window, undefined) { var freeExports = typeof exports == 'object' && exports && (typeof global == 'object' && global && global == global.global && (window = global...
test/test_helper.js
chrischavarro/CamperLeaderboard
import _$ from 'jquery'; import React from 'react'; import ReactDOM from 'react-dom'; import TestUtils from 'react-addons-test-utils'; import jsdom from 'jsdom'; import chai, { expect } from 'chai'; import chaiJquery from 'chai-jquery'; import { Provider } from 'react-redux'; import { createStore } from 'redux'; import...
src/SubcategoryList/index.js
christianalfoni/ducky-components
import React from 'react'; import PropTypes from 'prop-types'; import Spacer from '../Spacer'; import ProgressbarLabeledPercentage from '../ProgressbarLabeledPercentage'; import Typography from '../Typography'; import Wrapper from '../Wrapper'; import styles from './styles.css'; class SubcategoryList extends React.Com...
src/components/Flag.js
DavidGuben/overwatchcharacterdatabase
import React from 'react'; export const Flag = props => ( <span className="flag"> <img className="icon" title={props.name} src={`/img/${props.icon}`} alt={`${props.name}'s flag`} /> {props.showName && <span className="name"> {props.name}</span>} </span> ); export default Flag;
pootle/static/js/auth/components/PasswordResetForm.js
unho/pootle
/* * Copyright (C) Pootle contributors. * * This file is a part of the Pootle project. It is distributed under the GPL3 * or later license. See the LICENSE file for a copy of the license and the * AUTHORS file for copyright and authorship information. */ import assign from 'object-assign'; import React from 'rea...
blueocean-material-icons/src/js/components/svg-icons/av/repeat-one.js
jenkinsci/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const AvRepeatOne = (props) => ( <SvgIcon {...props}> <path d="M7 7h10v3l4-4-4-4v3H5v6h2V7zm10 10H7v-3l-4 4 4 4v-3h12v-6h-2v4zm-4-2V9h-1l-2 1v1h1.5v4H13z"/> </SvgIcon> ); AvRepeatOne.displayName = 'AvRepeatOne'; AvRepeatOne.muiName = 'SvgIcon'; e...
src/components/Post/index.js
transitlinks/web-app
import React from 'react'; import cx from 'classnames'; import { injectIntl } from 'react-intl'; import { connect } from 'react-redux'; import Video from './Video'; import withStyles from 'isomorphic-style-loader/lib/withStyles'; import s from './Post.css'; const Post = ({ post, header, env }) => { const name = p...
src/svg-icons/image/colorize.js
kittyjumbalaya/material-components-web
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageColorize = (props) => ( <SvgIcon {...props}> <path d="M20.71 5.63l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-3.12 3.12-1.93-1.91-1.41 1.41 1.42 1.42L3 16.25V21h4.75l8.92-8.92 1.42 1.42 1.41-1.41-1.92-1.92 3.12-3...
ajax/libs/react-highcharts/8.3.2/ReactHighstock.src.js
CyrusSUEN/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("highcharts/highstock")); else if(typeof define === 'function' && define.amd) define(["react", "highcharts/highstock"], factory); else if(ty...
src/app/core/atoms/icon/icons/fueling.js
blowsys/reservo
import React from 'react'; const Fueling = (props) => <svg {...props} viewBox="0 0 24 24"><g><g><path d="M5,9 C5,9 2,11.8053333 2,13.8888889 C2,15.6071111 3.34314286,17 5,17 C6.65685714,17 8,15.6071111 8,13.8888889 C8,11.8053333 5,9 5,9 L5,9 Z"/><path d="M17.681701,13.962379 C18.1629906,14.2954957 18.6940562,14.5565468...
node_modules/@material-ui/core/es/NoSsr/NoSsr.js
pcclarke/civ-techs
import React from 'react'; import PropTypes from 'prop-types'; import { exactProp } from '@material-ui/utils'; const useEnhancedEffect = typeof window !== 'undefined' && process.env.NODE_ENV !== 'test' ? React.useLayoutEffect : React.useEffect; /** * NoSsr purposely removes components from the subject of Server Side R...
ExampleFormApp/__tests__/index.android.js
markusguenther/react-native-simple-form
import 'react-native'; import React from 'react'; import Index from '../index.android.js'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; it('renders correctly', () => { const tree = renderer.create( <Index /> ); });
src/svg-icons/editor/space-bar.js
frnk94/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorSpaceBar = (props) => ( <SvgIcon {...props}> <path d="M18 9v4H6V9H4v6h16V9z"/> </SvgIcon> ); EditorSpaceBar = pure(EditorSpaceBar); EditorSpaceBar.displayName = 'EditorSpaceBar'; EditorSpaceBar.muiName ...
lib/List/stories/BasicUsage.js
folio-org/stripes-components
/** * List Component: Basic Usage */ import React from 'react'; import List from '../List'; export default () => { const items = ['Bananas', 'Apples', 'Oranges', 'Kiwis', 'Strawberries']; const itemFormatter = (item, i) => ( <li key={i}> {item} </li> ); return ( <div> List with ar...
src/svg-icons/image/crop-3-2.js
xmityaz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageCrop32 = (props) => ( <SvgIcon {...props}> <path d="M19 4H5c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H5V6h14v12z"/> </SvgIcon> ); ImageCrop32 = pure(ImageCrop32); ImageCro...
src/Main/Layout/NavigationBar.js
enragednuke/WoWAnalyzer
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { Link } from 'react-router-dom'; import { getFightId, getPlayerName } from 'selectors/url/report'; import { getReport } from 'selectors/report'; import { getFightById } from 'selectors/fight'; import GithubLo...
examples/src/components/MultiSelectFieldWithLimit.js
darrindickey/chc-select
import React from 'react'; import Select from 'react-select'; function logChange() { console.log.apply(console, [].concat(['Select value changed:'], Array.prototype.slice.apply(arguments))); } var MultiSelectField = React.createClass({ displayName: 'MultiSelectField', propTypes: { label: React.PropTypes.string, ...
src/scenes/home/header/burger/burger.js
tskuse/operationcode_frontend
import React from 'react'; import PropTypes from 'prop-types'; import burger from 'images/icons/menu.svg'; import styles from './burger.css'; function Burger(props) { return ( <div className={styles.burger}> <a className="burger" href="/" onClick={props.onClick}><img src={burger} alt="" /></a> </div> ...
packages/material-ui-icons/lib/CarpenterOutlined.js
mbrookes/material-ui
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon")); var _jsxRuntime = require("react/jsx-runtime")...
ajax/libs/rxjs/2.4.3/rx.lite.compat.js
lobbin/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false }; ...
src/components/ADAGUC/CanvasComponent.spec.js
diMosellaAtWork/GeoWeb-FrontEnd
import React from 'react'; // eslint-disable-next-line no-unused-vars import { default as CanvasComponent } from './CanvasComponent'; import { shallow } from 'enzyme'; describe('(Component) CanvasComponent', () => { it('Renders a canvas', () => { const _component = shallow(<CanvasComponent />); expect(_compo...
docs/src/pages/premium-themes/onepirate/modules/withRoot.js
allanalexandre/material-ui
import React from 'react'; import { ThemeProvider } from '@material-ui/styles'; import CssBaseline from '@material-ui/core/CssBaseline'; import theme from './theme'; function withRoot(Component) { function WithRoot(props) { return ( <ThemeProvider theme={theme}> {/* CssBaseline kickstart an elegant...
ajax/libs/react-router/0.9.4/react-router.min.js
joeylakay/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.ReactRouter=e()}}(function(){var define;return functi...
index.js
sumittops/react-data-viz
import React from 'react'; import ReactDOM from 'react-dom'; import Palette from './core/Palette'; import HorizontalBarChart from './components/barCharts/HorizontalBarChart'; import VerticalBarChart from './components/barCharts/VerticalBarChart'; import SimpleLineChart from './components/lineCharts/SimpleLineChart'; i...
packages/mui-icons-material/lib/HlsOffRounded.js
oliviertassinari/material-ui
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon")); var _jsxRuntime = require("react/jsx-runtime")...
features/apimgt/org.wso2.carbon.apimgt.publisher.feature/src/main/resources/publisher/source/src/app/components/Base/index.js
dewmini/carbon-apimgt
/* * Copyright (c) 2017, 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...
ajax/libs/yui/3.11.0/datatable-body/datatable-body.js
aashish24/cdnjs
YUI.add('datatable-body', function (Y, NAME) { /** View class responsible for rendering the `<tbody>` section of a table. Used as the default `bodyView` for `Y.DataTable.Base` and `Y.DataTable` classes. @module datatable @submodule datatable-body @since 3.5.0 **/ var Lang = Y.Lang, isArray = Lang.isA...
assets/js/components/AnimatedHomePageHeader/AnimatedHomePageHeader.js
alemneh/negativity-purger
import React from 'react'; import styles from './AnimatedHomePageHeader.css'; const loaded_style = styles.loaded; const AnimatedHomePageHeader = ({ loaded }) => { let style_for_load = loaded ? ' ' + loaded_style : ''; return ( <div className={styles.textContainer}> <span className={styles.regText + sty...
packages/mui-icons-material/lib/esm/FontDownloadRounded.js
oliviertassinari/material-ui
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M9.93 13.5h4.14L12 7.98 9.93 13.5zM20 2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-4.29 15.88-.9-2.38H9.17l-.89 2.37c-.14.38-.5...
src/Badge.js
victorzhang17/react-bootstrap
import React from 'react'; import ValidComponentChildren from './utils/ValidComponentChildren'; import classNames from 'classnames'; const Badge = React.createClass({ propTypes: { pullRight: React.PropTypes.bool }, getDefaultProps() { return { pullRight: false }; }, hasContent() { re...
src/components/Sponsor.js
twreporter/twreporter-react
import { fontWeight } from '@twreporter/core/lib/constants/font' import DonationLink from '@twreporter/react-components/lib/donation-link' import mq from '../utils/media-query' import React from 'react' import Sizing from './sizing' import styled from 'styled-components' const Container = styled(Sizing)` width: 100%...
src/components/Footer.js
HeeBooo/react-gallery
import React, { Component } from 'react'; import PropTypes from 'prop-types'; class Footer extends Component { renderFilter (filter, name) { if (filter === this.props.filter) { return name; } return ( <button onClick={e => { e.preventDefault(); ...
public/assets/application-8ea1df72c8a39c7228170c521a0a85c073a43e2e8b6500d943440a5b89bf60ab.js
danvisintainer/feedback
/*! * jQuery JavaScript Library v1.11.2 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2014-12-17T15:27Z */ function onYouTubePlayerAPIReady(){yt...
ajax/libs/video.js/5.0.0-rc.9/video.js
ahocevar/cdnjs
/** * @license * Video.js 5.0.0-rc.9 <http://videojs.com/> * Copyright Brightcove, Inc. <https://www.brightcove.com/> * Available under Apache License Version 2.0 * <https://github.com/videojs/video.js/blob/master/LICENSE> * * Includes vtt.js <https://github.com/mozilla/vtt.js> * Available under Apache License ...
lib/components/admin/field-trip-windows.js
opentripplanner/otp-react-redux
import React from 'react' import { connect } from 'react-redux' import FieldTripDetails from './field-trip-details' import FieldTripList from './field-trip-list' const WINDOW_WIDTH = 450 const MARGIN = 15 /** * Collects the various draggable windows for the Field Trip module. */ const FieldTripWindows = ({callTake...
js/vendor/jquery-1.11.3.min.js
ergum/ESAT-Microsites
/*! jQuery v1.11.3 | (c) 2005, 2015 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind...
resources/public/js/.module-cache/3d237bd5d8a87d7110486b524644b880dc519a75.js
ianbishop/burritotown
/** * Copyright 2013-2014, Facebook, Inc. * 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. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @emails react-co...
src/svg-icons/av/web.js
kasra-co/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvWeb = (props) => ( <SvgIcon {...props}> <path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-5 14H4v-4h11v4zm0-5H4V9h11v4zm5 5h-4V9h4v9z"/> </SvgIcon> ); AvWeb = pur...
docs/src/examples/elements/Button/GroupVariations/ButtonExampleGroupBasic.js
Semantic-Org/Semantic-UI-React
import React from 'react' import { Button, Divider } from 'semantic-ui-react' const ButtonExampleGroupBasic = () => ( <div> <Button.Group basic> <Button>One</Button> <Button>Two</Button> <Button>Three</Button> </Button.Group> <Divider /> <Button.Group basic vertical> <Button>O...
src/index.js
boldyrev-d/stylelint-config-generator
/* eslint-disable react/jsx-filename-extension */ import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import './index.css'; import App from './components/App'; import registerServiceWorker from './registerServiceWorker'; import store from './store'; ReactDOM.render( ...
frontend/pages/swe/week-11.js
souvik1997/website
import React from 'react'; import Link from 'next/link'; import Head from '../../components/head'; import BlogPost, { CodeBlock } from '../../components/swe-blog'; import { Container, Nav, NavItem, NavLink, Row, Col } from 'reactstrap'; import 'bootstrap/dist/css/bootstrap.min.css'; const pickOfTheWeek = ( <div> ...
packages/core/src/icons/components/Play.js
iCHEF/gypcrete
import React from 'react'; export default function SvgPlay(props) { return ( <svg width="1em" height="1em" viewBox="0 0 1000 1000" xmlns="http://www.w3.org/2000/svg" {...props} > <path fillRule="evenodd" clipRule="evenodd" d="M187.5 500c.2-172.5 140...
ajax/libs/forerunnerdb/1.3.602/fdb-core.js
wout/cdnjs
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
Libraries/StyleSheet/LayoutPropTypes.js
disparu86/react-native
/** * Copyright (c) 2015-present, Facebook, Inc. * 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. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @provides...
docs/src/pages/components/badges/DotBadge.js
lgollut/material-ui
import React from 'react'; import { makeStyles } from '@material-ui/core/styles'; import Badge from '@material-ui/core/Badge'; import MailIcon from '@material-ui/icons/Mail'; import Typography from '@material-ui/core/Typography'; const useStyles = makeStyles((theme) => ({ root: { '& > *': { margin: theme.s...
src/components/MarkerCard.js
IgorSzyporyn/wwiionline-webmap
import React from 'react'; import PropTypes from 'prop-types'; import { OverlayView } from "react-google-maps"; import getPixelPositionOffset from '../utils/getPixelPositionOffset'; const MarkerCard = props => { const handleMouseLeave = () => { props.onMouseLeave(); }; return ( <OverlayView getPi...
src/components/Profile.js
vkarpov15/shidoshi
'use strict'; import ArticleList from './ArticleList'; import React from 'react'; import { Link } from 'react-router'; import agent from '../agent'; import { connect } from 'react-redux'; const EditProfileSettings = props => { if (props.isUser) { return ( <Link to="settings" className="btn...
ajax/libs/react-data-grid/1.0.38/react-data-grid.ui-plugins.js
seogi1004/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("react-dom")); else if(typeof define === 'function' && define.amd) define(["react", "react-dom"], factory); else if(typeof exports === 'obje...
src/applications/hca/config/chapters/veteranInformation/demographicInformation.js
department-of-veterans-affairs/vets-website
import React from 'react'; import fullSchemaHca from 'vets-json-schema/dist/10-10EZ-schema.json'; import PrefillMessage from 'platform/forms/save-in-progress/PrefillMessage'; import DemographicField from '../../../components/DemographicField'; const { isAmericanIndianOrAlaskanNative, isAsian, isBlackOrAfricanAm...
packages/material-ui-icons/src/NotificationsRounded.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M12 22c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5...
ajax/libs/material-ui/5.0.0-beta.2/modern/TableRow/TableRow.min.js
cdnjs/cdnjs
import _extends from"@babel/runtime/helpers/esm/extends";import _objectWithoutPropertiesLoose from"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";const _excluded=["className","component","hover","selected"];import*as React from"react";import PropTypes from"prop-types";import clsx from"clsx";import{unstable_co...
openex-front/src/private/components/MiniMap.js
Luatix/OpenEx
import React from 'react'; import * as PropTypes from 'prop-types'; import * as R from 'ramda'; import withTheme from '@mui/styles/withTheme'; import withStyles from '@mui/styles/withStyles'; import { MapContainer, TileLayer } from 'react-leaflet'; import { connect } from 'react-redux'; import { storeHelper } from '../...
ajax/libs/react-chartjs-2/2.7.1/react-chartjs-2.js
extend1994/cdnjs
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('chart.js')) : typeof define === 'function' && define.amd ? define(['exports', 'react', 'chart.js'], factory) : (factory((global.ReactChartjs2 = {}),global.React,global.Chart)); }(t...
node_modules/axios/lib/adapters/xhr.js
narmeen12/ecan
'use strict'; var utils = require('./../utils'); var settle = require('./../core/settle'); var buildURL = require('./../helpers/buildURL'); var parseHeaders = require('./../helpers/parseHeaders'); var isURLSameOrigin = require('./../helpers/isURLSameOrigin'); var createError = require('../core/createError'); var btoa ...
app/components/IssueIcon/index.js
shaggyshelar/CLA
import React from 'react'; function IssueIcon(props) { return ( <svg height="1em" width="0.875em" className={props.className} > <path d="M7 2.3c3.14 0 5.7 2.56 5.7 5.7S10.14 13.7 7 13.7 1.3 11.14 1.3 8s2.56-5.7 5.7-5.7m0-1.3C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7S10.86 1 7 1z m1 3H6v...
src/index.js
guanzhenxing/react-webpack-scaffold
import React from 'react'; import { render } from 'react-dom'; import App from './containers/App'; render( <App/>, document.getElementById('root') );
resources/js/Admin/components/MainNav/MainNav.js
DoSomething/northstar
import React from 'react'; import PropTypes from 'prop-types'; import menu from './menu'; import NavLink from './NavLink'; import MainSubNav from './MainSubNav'; import { isActiveRoute } from '../../../helpers/url'; import { getAuthStatus } from '../../../helpers/auth'; const MainNav = () => { const { isAdmin, isSt...
src/svg-icons/communication/phonelink-lock.js
andrejunges/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let CommunicationPhonelinkLock = (props) => ( <SvgIcon {...props}> <path d="M19 1H9c-1.1 0-2 .9-2 2v3h2V4h10v16H9v-2H7v3c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm-8.2 10V9.5C10.8 8.1 9.4 7 8 7S5.2 8.1 5.2 ...
src/svg-icons/social/pages.js
w01fgang/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let SocialPages = (props) => ( <SvgIcon {...props}> <path d="M3 5v6h5L7 7l4 1V3H5c-1.1 0-2 .9-2 2zm5 8H3v6c0 1.1.9 2 2 2h6v-5l-4 1 1-4zm9 4l-4-1v5h6c1.1 0 2-.9 2-2v-6h-5l1 4zm2-14h-6v5l4-1-1 4h5V5c0-1.1-.9-2-2-2z"/...
ajax/libs/forerunnerdb/1.3.508/fdb-legacy.js
x112358/cdnjs
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
src/components/forms/Textarea.js
iamraphson/mernmap
/** * Created by Raphson on 9/24/16. */ import React from 'react'; import Formsy from 'formsy-react'; const MyTextarea = React.createClass({ // Add the Formsy Mixin mixins: [Formsy.Mixin], // setValue() will set the value of the component, which in // turn will validate it and the rest of the form ...
src/client/components/notfound.react.js
jirastom/react-learnig
import Component from '../components/component.react'; import DocumentTitle from 'react-document-title'; import React from 'react'; import {Link} from 'react-router'; export default class NotFound extends Component { static propTypes = { msg: React.PropTypes.object.isRequired } render() { const {msg: {...
ajax/libs/forerunnerdb/1.3.322/fdb-core.js
wil93/cdnjs
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
Realization/frontend/czechidm-core/src/components/basic/Modal/ModalBody.js
bcvsolutions/CzechIdMng
import React from 'react'; // import DialogContent from '@material-ui/core/DialogContent'; import DialogContentText from '@material-ui/core/DialogContentText'; import { makeStyles } from '@material-ui/core/styles'; // import AbstractComponent from '../AbstractComponent/AbstractComponent'; const useStyles = makeStyles(...
libs/jquery/jquery.js
rbarros/myValidate
/*! * jQuery JavaScript Library v1.9.0 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-1-14 */ (function( window, undefined ) { "use strict";...
ajax/libs/zeroclipboard/2.0.3/ZeroClipboard.js
hare1039/cdnjs
/*! * ZeroClipboard * The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface. * Copyright (c) 2014 Jon Rohan, James M. Greene * Licensed MIT * http://zeroclipboard.org/ * v2.0.3 */ (function(window, undefined) { "use strict";...
src/index.js
hongkheng/hdb-resale
import React from 'react'; import ReactDOM from 'react-dom'; import { Router, Route, Redirect, IndexRedirect, browserHistory } from 'react-router'; import App from './components/App'; import Charts from './components/Charts'; import Maps from './components/Maps'; import About from './components/About'; import {ChartSe...
client/src/containers/SideBar.js
Bekzod13/DrawSketch
import React from 'react' import {observer} from "mobx-react" import {CustomDropDown} from "./CustomDropDown" import {ListGroupItem} from 'reactstrap'; import 'bootstrap/dist/css/bootstrap.css'; import 'font-awesome/css/font-awesome.min.css'; import "../style/form.css"; import "../style/sidebar.css"; export const Sid...
client/src/containers/pages/Demo.js
shmilky/node-react-template
'use strict'; import React from 'react'; import {Link} from 'react-router-dom'; import {demoApi} from '../../api' import {landing as landingRoutes} from '../../routes'; import {SharedComponent} from '../../components'; export default class extends React.Component { constructor (props) { supe...
src/v2/pages/block/index.js
aredotna/ervell
import React, { PureComponent } from 'react' import PropTypes from 'prop-types' import { Query } from '@apollo/client/react/components' import styled from 'styled-components' import blockPageQuery from 'v2/pages/block/queries/blockPage' import constants from 'v2/styles/constants' import Box from 'v2/components/UI/Bo...
src/components/ChatApp/MessageComposer.react.js
uday96/chat.susi.ai
import * as Actions from '../../actions/'; import React, { Component } from 'react'; import PropTypes from 'prop-types'; import Send from 'material-ui/svg-icons/content/send'; import Mic from 'material-ui/svg-icons/av/mic'; import UserPreferencesStore from '../../stores/UserPreferencesStore'; import IconButton from 'ma...
ui/src/main/js/pages/__tests__/Home-test.js
thinker0/aurora
import React from 'react'; import { shallow } from 'enzyme'; import Home from '../Home'; import Breadcrumb from 'components/Breadcrumb'; import Loading from 'components/Loading'; import RoleList from 'components/RoleList'; const TEST_CLUSTER = 'test-cluster'; function createMockApi(roles) { const api = {}; api.g...
src/Content/Publisher/Publisher.js
Kisfejes/test-mqtt-client
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import RaisedButton from 'material-ui/RaisedButton'; import TextField from 'material-ui/TextField'; import AceEditor from 'react-ace'; import 'brace/ext/language_tools'; import 'brace/mode/json'; import 'brace/theme/github'; import styles ...
dist/react-maskedinput.js
bekerov/react-maskedinput
/*! * react-maskedinput 2.0.0 (dev build at Wed, 15 Jul 2015 12:05:32 GMT) - https://github.com/insin/react-maskedinput * MIT Licensed */ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window...
app/containers/Posts/instances/2017-04-30_bumblin/index.js
brainsandspace/ship
/* * * And Mumblin * */ import React from 'react'; import Helmet from 'react-helmet'; import Post from 'components/Post'; import PostHeading from 'components/PostHeading'; import PostTitle from 'components/PostTitle'; import PostDate from 'components/PostDate'; import Chunk from 'components/Chunk'; import postIn...