path
stringlengths
5
195
repo_name
stringlengths
5
79
content
stringlengths
25
1.01M
src/Parser/Druid/Balance/Modules/Features/MoonSpells.js
hasseboulen/WoWAnalyzer
import React from 'react'; import SpellIcon from 'common/SpellIcon'; import StatisticBox, { STATISTIC_ORDER } from 'Main/StatisticBox'; import Analyzer from 'Parser/Core/Analyzer'; import SPELLS from 'common/SPELLS'; import ITEMS from 'common/ITEMS'; import AbilityTracker from 'Parser/Core/Modules/AbilityTracker'; impo...
app/templates/MasterSlavery/Master/AddForm/index.js
bruceli1986/react-qdp
/* * * MasterAddForm * */ import React from 'react'; import { connect } from 'react-redux'; import selectMasterAddForm from './selectors'; import { Modal, Form, Input, Row, Col } from 'antd'; import { initAddFormAction, setSubmitAction, submitAddFormAction } from './actions'; const createForm = Form.create;...
src/assets/js/react/components/Template/TemplateSingle.js
blueliquiddesigns/gravity-forms-pdf-extended
import React from 'react' import PropTypes from 'prop-types' import { connect } from 'react-redux' import getTemplates from '../../selectors/getTemplates' import TemplateContainer from './TemplateContainer' import TemplateHeaderNavigation from './TemplateHeaderNavigation' import TemplateFooterActions from './TemplateFo...
src/Header.js
easyCZ/react-firebase-chat
import React from 'react'; import AppBar from 'material-ui/lib/app-bar'; const Header = () => ( <AppBar title="React Firebase Chat" showMenuIconButton={false} /> ); export default Header;
test/test_helper.js
sfordjasiri/TT
import _$ from 'jquery'; import React from 'react'; import ReactDOM from 'react-dom'; //import TestUtils from 'react-addons-test-utils'; import TestUtils from 'react-dom/test-utils'; //import jsdom from 'jsdom'; import {JSDOM} from 'jsdom'; import chai, { expect } from 'chai'; import chaiJquery from 'chai-jquery'; impo...
node_modules/react-bootstrap/es/Grid.js
yeshdev1/Everydays-project
import _extends from 'babel-runtime/helpers/extends'; import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from ...
src/app.js
E-HERO-ZZ/tomatoTime
import React from 'react'; import ReactDOM from 'react-dom'; import createBrowserHistory from 'history/lib/createBrowserHistory'; import { syncReduxAndRouter } from 'redux-simple-router'; import routes from './routes'; import Root from './containers/Root'; import configureStore from './redux/configureStore'; const his...
examples/dynamic-segments/app.js
darul75/react-router
import React from 'react'; import HashHistory from 'react-router/lib/HashHistory'; import { Router, Route, Link, Redirect } from 'react-router'; var App = React.createClass({ render() { return ( <div> <ul> <li><Link to="/user/123">Bob</Link></li> <li><Link to="/user/abc">Sally</...
src/containers/PageA.js
iestruch/react_demo
import React from 'react'; export default class PageA extends React.Component { constructor(props) { super(props); } render() { return ( <div>{ 'Esto es la PageA' }</div> ); } }
packages/vx-demo/pages/geo-mercator.js
Flaque/vx
import React from 'react'; import Show from '../components/show'; import GeoMercator from '../components/tiles/geo-mercator'; export default () => { return ( <Show events component={GeoMercator} title="Geo Mercator" > {` import React from 'react'; import { GradientTealBlue, RadialGrad...
app/javascript/flavours/glitch/features/list_timeline/index.js
glitch-soc/mastodon
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import StatusListContainer from 'flavours/glitch/features/ui/containers/status_list_container'; import Column from 'flavours/glitch/components/column'; import...
src/ui/components/views/Discussion/DiscussionItem.js
belng/pure
/* @flow */ import React, { Component } from 'react'; import shallowCompare from 'react-addons-shallow-compare'; import Card from '../Card/Card'; import DiscussionItemBase from './DiscussionItemBase'; export default class DiscussionItem extends Component<void, any, any> { static propTypes = { style: Card.propTypes...
node_modules/react-bootstrap/es/NavDropdown.js
GregSantulli/react-drum-sequencer
import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from 'babel-runtime/helpers/inherits'; import _extends from...
fields/types/Field.js
benkroeger/keystone
import classnames from 'classnames'; import evalDependsOn from '../utils/evalDependsOn.js'; import React from 'react'; import { findDOMNode } from 'react-dom'; import { FormField, FormInput, FormNote } from '../../admin/client/App/elemental'; import blacklist from 'blacklist'; import CollapsedFieldLabel from '../compon...
docs/src/app/components/pages/components/Stepper/CustomIcon.js
pomerantsev/material-ui
import React from 'react'; import { Step, Stepper, StepLabel, } from 'material-ui/Stepper'; import WarningIcon from 'material-ui/svg-icons/alert/warning'; import {red500} from 'material-ui/styles/colors'; /** * Custom icons can be used to create different visual states. */ class CustomIcon extends React.Compon...
packages/material-ui-icons/src/SignalCellular4Bar.js
AndriusBil/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let SignalCellular4Bar = props => <SvgIcon {...props}> <path d="M2 22h20V2z" /> </SvgIcon>; SignalCellular4Bar = pure(SignalCellular4Bar); SignalCellular4Bar.muiName = 'SvgIcon'; export default SignalCell...
src/server.js
danjonesdev/react-cool-starter-maste-progress
/* @flow */ import path from 'path'; import morgan from 'morgan'; import express from 'express'; import compression from 'compression'; import helmet from 'helmet'; import hpp from 'hpp'; import favicon from 'serve-favicon'; import React from 'react'; import { renderToString, renderToStaticMarkup } from 'react-dom/ser...
examples/src/components/App.js
ruebel/waveform-react
import React from 'react'; import styled from 'styled-components'; import Button from './Button'; import Checkbox from './Checkbox'; import ColorInput from './ColorInput'; import FileInput from './FileInput'; import NumberInput from './NumberInput'; import Title from './Title'; import Waveform from '../lib'; import { g...
client/components/duplicates/confirm-merge.js
bnjbvr/kresus
import React from 'react'; import { connect } from 'react-redux'; import { translate as $t } from '../../helpers'; import { actions, get } from '../../store'; import { registerModal } from '../ui/modal'; import CancelAndWarn from '../ui/modal/cancel-and-warn-buttons'; import ModalContent from '../ui/modal/content'; ...
src/containers/Asians/TabControls/_components/AppBar/LargeAppBar/index.js
westoncolemanl/tabbr-web
import React from 'react' import { connect } from 'react-redux' import Link from 'react-router-dom/Link' import AppBar from 'material-ui/AppBar' import Toolbar from 'material-ui/Toolbar' import Button from 'material-ui/Button' import PreliminaryRoundsButton from './PreliminaryRoundsButton' import BreakRoundsButtons ...
src/svg-icons/image/panorama-fish-eye.js
pancho111203/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImagePanoramaFishEye = (props) => ( <SvgIcon {...props}> <path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/> </SvgIcon> ); ...
spa/router.js
chadwilcomb/health-trackr
import app from 'ampersand-app' import React from 'react' import Router from 'ampersand-router' import moment from 'moment' import Layout from './layout'; import MessagePage from './pages/message'; import PublicPage from './pages/public'; import RegisterUserPage from './pages/register'; import InputPage from './pages/i...
src/components/Note.js
dialob/dialob-fill-ui
/** * Copyright 2016 ReSys OÜ * * 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 required by applicable law or agreed to in...
react/eventwizard/components/infoTab/TeamMappingsList.js
bdaroz/the-blue-alliance
import React from 'react' import PropTypes from 'prop-types' import TeamMappingItem from './TeamMappingItem' const TeamMappingsList = (props) => ( <div> {Object.keys(props.teamMappings).length > 0 && <p> {Object.keys(props.teamMappings).length} team mappings found </p> } <ul> {Object...
src/components/layout/CTA.js
MozillaDevelopers/playground
import React from 'react'; // Components import DownloadWhite from '../../components/DownloadWhite'; import DownloadLink from '../../components/DownloadLink'; // images import logo from '../img/ffde-logo.png'; const CTA = () => ( <div className="cta"> <div className="container"> <div className="cta__cont...
ajax/libs/react-instantsearch/4.1.0-beta.2/Dom.js
pvnr0082t/cdnjs
/*! ReactInstantSearch 4.1.0-beta.2 | © Algolia, inc. | https://community.algolia.com/react-instantsearch/ */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("react-dom")); else if(typeof def...
src/containers/App.js
chentsulin/redux-example
import React from 'react'; import CounterApp from './CounterApp'; import { createRedux } from 'redux'; import { Provider } from 'redux/react'; import * as stores from '../stores'; const redux = createRedux(stores); export default class App { render() { return ( <Provider redux={redux}> {() => <C...
techCurriculum/ui/solutions/6.2/src/components/Card.js
jennybkim/engineeringessentials
/** * Copyright 2017 Goldman Sachs. * 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 required by applicable law or agreed to...
app/javascript/flavours/glitch/features/blocks/index.js
vahnj/mastodon
import React from 'react'; import { connect } from 'react-redux'; import ImmutablePropTypes from 'react-immutable-proptypes'; import PropTypes from 'prop-types'; import LoadingIndicator from 'flavours/glitch/components/loading_indicator'; import { ScrollContainer } from 'react-router-scroll-4'; import Column from 'flav...
src/routes/login/Login.js
louisukiri/react-starter-kit
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-present Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; import PropTypes from 'prop-...
app/javascript/mastodon/features/ui/components/drawer_loading.js
WitchesTown/mastodon
import React from 'react'; const DrawerLoading = () => ( <div className='drawer'> <div className='drawer__pager'> <div className='drawer__inner' /> </div> </div> ); export default DrawerLoading;
App/Components/ChannelDetail/Videos/Panel/index.js
okmttdhr/YoutuVote
// @flow import React from 'react'; import { View, Text, Image, Linking, TouchableOpacity } from 'react-native'; import styles from './style'; import type {TVideo} from '../../../../types/'; type TPanel = { video: TVideo; } export const Panel = ({video}: TPanel) => ( <TouchableOpacity activeOpacity={0.8} ...
docs/src/app/components/pages/components/GridList/ExampleSingleLine.js
manchesergit/material-ui
import React from 'react'; import {GridList, GridTile} from 'material-ui/GridList'; import IconButton from 'material-ui/IconButton'; import StarBorder from 'material-ui/svg-icons/toggle/star-border'; const styles = { root: { display: 'flex', flexWrap: 'wrap', justifyContent: 'space-around', }, gridLi...
test/day-header-style.js
TodayTix/tt-react-calendar
import test from 'ava'; import React from 'react'; import { mount } from 'enzyme'; import TTReactCalendar from '../src'; import DayHeaders from '../src/day-headers'; import Month from '../src/month'; test('dayHeaderStyle AboveFirstMonth only renders one header', t => { const wrapper = mount(<TTReactCalendar day...
client/src/components/venue/index.js
joejknowles/Open-Up
import React from 'react'; import { Link } from 'react-router' import Image from './field' import '../../styles/Venue.css'; export default ({ children }) => ( <div className="Venue"> <Link to="/venue/book" className="bookLink">BOOK HERE</Link> <h3 className="venue-heading"> Venue 1 </h3> <Image...
docs/src/pages/styles/advanced/StringTemplates.js
lgollut/material-ui
import React from 'react'; import { jssPreset, StylesProvider, makeStyles } from '@material-ui/core/styles'; import { create } from 'jss'; import jssTemplate from 'jss-plugin-template'; const jss = create({ plugins: [jssTemplate(), ...jssPreset().plugins], }); const useStyles = makeStyles({ root: ` background...
docs/app/Examples/collections/Form/FieldVariations/index.js
ben174/Semantic-UI-React
import React from 'react' import ExampleSection from 'docs/app/Components/ComponentDoc/ExampleSection' import ComponentExample from 'docs/app/Components/ComponentDoc/ComponentExample' const FormFieldVariationsExamples = () => ( <ExampleSection title='Field Variations'> <ComponentExample title='Inline' ...
dac/ui-lib/src/components/Dialog/Dialog.js
dremio/dremio-oss
/* * Copyright (C) 2017-2019 Dremio Corporation * * 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 required by applicable l...
src/Game.js
leoasis/enter-hangman
import React from 'react'; import Gallows from './Gallows'; import Man from './Man'; import WordSoFar from './WordSoFar'; import UsedLetters from './UsedLetters'; import GameOver from './GameOver'; export default class App extends React.Component { render() { return <div style={styles.container}> <Gallows ...
pollard/components/LoadSchedule.js
freeformpdx/pollard
import React, { Component } from 'react'; export default class LoadSchedule extends Component { render() { return ( <form action="/api/loadSchedule" method="post" encType="multipart/form-data"> PW <input type="text" name="pw"></input><br/> <input type="file" name="sched" id="sched"></input>...
app/app.js
ZhengRaymond/portfolio
/** * app.js * * This is the entry file for the application, only setup and boilerplate * code. */ // Needed for redux-saga es6 generator support import 'babel-polyfill'; // Import all the third party stuff import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; impor...
Screens/RecordDetails.js
Datasilk/Dedicate
import React from 'react'; import { View, StyleSheet, Dimensions, BackHandler, Alert, NativeEventEmitter } from 'react-native'; import Text from 'text/Text'; import Body from 'ui/Body'; import ListColumns from 'ui/ListColumns'; import AppStyles from 'dedicate/AppStyles'; import AppLang from 'dedicate/AppLang'; import T...
node_modules/react-router/modules/IndexRoute.js
midknightmare/menuology
import React from 'react' import invariant from 'invariant' import warning from 'warning' import { createRouteFromReactElement } from './RouteUtils' import { component, components, falsy } from './PropTypes' const { bool, func } = React.PropTypes /** * An <IndexRoute> is used to specify its parent's <Route indexRout...
src/docs/examples/HelloWorld/ExampleHelloWorld.js
zeegeek/ps-react-reusable-comp
import React from 'react'; import HelloWorld from 'rc-react/HelloWorld'; /** Custom message */ export default function ExampleHelloWorld() { return <HelloWorld message="Pluralsight viewers!" /> }
node_modules/semantic-ui-react/src/views/Item/Item.js
mowbell/clickdelivery-fed-test
import cx from 'classnames' import _ from 'lodash' import PropTypes from 'prop-types' import React from 'react' import { customPropTypes, getElementType, getUnhandledProps, META, } from '../../lib' import ItemContent from './ItemContent' import ItemDescription from './ItemDescription' import ItemExtra from './...
react/features/feedback/components/FeedbackDialog.web.js
jitsi/jitsi-meet
// @flow import { FieldTextAreaStateless } from '@atlaskit/field-text-area'; import StarIcon from '@atlaskit/icon/glyph/star'; import StarFilledIcon from '@atlaskit/icon/glyph/star-filled'; import React, { Component } from 'react'; import type { Dispatch } from 'redux'; import { createFeedbackOpenEvent, sendA...
src/svg-icons/hardware/keyboard-arrow-down.js
andrejunges/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareKeyboardArrowDown = (props) => ( <SvgIcon {...props}> <path d="M7.41 7.84L12 12.42l4.59-4.58L18 9.25l-6 6-6-6z"/> </SvgIcon> ); HardwareKeyboardArrowDown = pure(HardwareKeyboardArrowDown); HardwareKey...
app/js/pages/Qiu_zhi_xin.js
arcsecw/auto_writing
import React from 'react'; import { Container, Input, ButtonToolbar, Tabs, DateTimeInput, Button, ModalTrigger, Icon, FormGroup, } from 'amazeui-react'; import {Editor, EditorState} from 'draft-js'; import { withRouter } from 'react-router' import { myConfig } from '../components/config.js'; import ...
src/svg-icons/av/hearing.js
w01fgang/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvHearing = (props) => ( <SvgIcon {...props}> <path d="M17 20c-.29 0-.56-.06-.76-.15-.71-.37-1.21-.88-1.71-2.38-.51-1.56-1.47-2.29-2.39-3-.79-.61-1.61-1.24-2.32-2.53C9.29 10.98 9 9.93 9 9c0-2.8 2.2-5 5-5s5 2.2 ...
src/js/components/video/FullscreenButton.js
kylebyerly-hp/grommet
// (C) Copyright 2014-2016 Hewlett Packard Enterprise Development LP import React, { Component } from 'react'; import PropTypes from 'prop-types'; import Intl from '../../utils/Intl'; import CSSClassnames from '../../utils/CSSClassnames'; import Button from '../Button'; import ExpandIcon from '../icons/base/Expand'; ...
spec/javascripts/jsx/gradebook/default_gradebook/components/content-filters/SectionFilterSpec.js
djbender/canvas-lms
/* * Copyright (C) 2019 - present Instructure, Inc. * * This file is part of Canvas. * * Canvas is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License as published by the Free * Software Foundation, version 3 of the License. * * Canvas is distribut...
examples/huge-apps/routes/Course/components/Course.js
kelsadita/react-router
import React from 'react'; import Dashboard from './Dashboard'; import Nav from './Nav'; var styles = {}; styles.sidebar = { float: 'left', width: 200, padding: 20, borderRight: '1px solid #aaa', marginRight: 20 }; class Course extends React.Component { render () { let { children, params } = this.pro...
src/MonthView.old.js
Kotuhan/react-date-picker
import React from 'react' import Component from 'react-class' import moment from 'moment' import assign from 'object-assign' import FORMAT from './utils/format' import asConfig from './utils/asConfig' import onEnter from './onEnter' import toMoment from './toMoment' import isInRange from './utils/isInRange' let TOD...
source/client/containers/App.js
isairz/beehive
import React from 'react' import NavBar from '../components/NavBar' import 'static/vendor/font-awesome/css/font-awesome.min.css' import styles from './styles.css' const App = ({ children }) => ( <div> <NavBar /> <div className={styles.container}> {children} </div> <div className={styles.foote...
src/js/GamesApp.js
bcongdon/sgdq-stats
import React from 'react' import ReactDOM from 'react-dom' import axios from 'axios' import { GDQ_STORAGE_ENDPOINT, PRIMARY_COLOR } from './constants' import { BarChart, Bar, Tooltip, ResponsiveContainer, XAxis, YAxis, CartesianGrid } from 'recharts' import PacmanLoader from 'halogen/PacmanLoader' import ...
src/components/views/dialogs/DevtoolsDialog.js
aperezdc/matrix-react-sdk
/* Copyright 2017 Michael Telatynski <7t3chguy@gmail.com> 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 required by applicable law or agreed...
src/navigation/navigationBar.js
Andrey11/golfmanager
'use strict'; import React, { Component } from 'react'; import { Text, Navigator } from 'react-native'; import Button from '../components/button'; import IconButton from '../components/iconButton'; import styles from '../styles/basestyles.js'; export var navigationBarRouteMapper = { LeftButton (route, navigat...
src/esm/components/graphics/icons/phone-icon/index.js
KissKissBankBank/kitten
import _extends from "@babel/runtime/helpers/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose"; var _excluded = ["color", "title"]; import React from 'react'; import PropTypes from 'prop-types'; export var PhoneIcon = function PhoneIcon(_ref) { var color = _ref....
src/app/components/header.js
disruptiveunicorn/comp-set-cms
import React, { Component } from 'react'; import { Link } from 'react-router'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import { fetchUser, logoutUser } from '../actions/firebase_actions'; class Header extends Component { constructor(props) { super(props); this.pr...
packages/icons/src/md/social/NotificationsPaused.js
suitejs/suitejs
import React from 'react'; import IconBase from '@suitejs/icon-base'; function MdNotificationsPaused(props) { return ( <IconBase viewBox="0 0 48 48" {...props}> <path d="M24 44c2.21 0 4-1.79 4-4h-8c0 2.21 1.79 4 4 4zm12-12l4 4v2H8v-2l4-4V22c0-6.15 3.27-11.28 9-12.64V8c0-1.66 1.34-3 3-3s3 1.34 3 3v1.36c5.73...
React Native/Demos/douApp/iOS_views/music/music.js
AngryLi/ResourceSummary
/** * Created by fulihui2 on 16/9/8. */ import React from 'react'; import { View, } from 'react-native'; export default class Music extends React.Component { render() { return ( <View style={{flex:1, backgroundColor:'#ddd'}}></View> ) } }
src/components/posts_index.js
KamillaKhabibrakhmanova/redux_blog
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { fetchPosts } from '../actions/index'; import { Link } from 'react-router'; class PostsIndex extends Component { //a lifecycle method - only called when the element is about to be mounted on the DOM componentWillMount() { this...
packages/fyndiq-component-message/src/message-portal.js
fyndiq/fyndiq-ui
import React from 'react' import ReactDOM from 'react-dom' import PropTypes from 'prop-types' // This component creates a Portal helper // for the Message Component. It is not intended // to be used directly class MessagePortal extends React.Component { static propTypes = { portalId: PropTypes.string, childr...
src/common/layouts/About/About.js
BeMacized/GrimoireWeb
// @Flow import React from 'react' import PropTypes from 'prop-types' import styled from 'styled-components' import { Row, Col, Card, CardBlock, CardTitle, CardText } from 'reactstrap' import FontAwesome from 'react-fontawesome' import { GITHUB_MAIN_REPO, GITHUB_WEB_REPO, SUPPORT_INVITE_URL } from '../../globals' cons...
src/app/routes/forms/components/bootstrap-validation/TogglingForm.js
backpackcoder/world-in-flames
import React from 'react' import BootstrapValidator from '../../../../components/forms/validation/BootstrapValidator' const validatorOptions = { feedbackIcons: { valid: 'glyphicon glyphicon-ok', invalid: 'glyphicon glyphicon-remove', validating: 'glyphicon glyphicon-refresh' }, fields: { firstNa...
senic_hub/setup_app/components/SetupHub.js
grunskis/senic-hub
import React from 'react'; import { ActivityIndicator, FlatList, StyleSheet, Text, View, } from 'react-native'; import { BleManager } from 'react-native-ble-plx'; import { List, ListItem } from 'react-native-elements' import HubOnboarding from '../HubOnboarding' import Screen from './Screen' export defaul...
src/components/fieldset-component.js
davidkpiano/react-redux-form
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import getModel from '../utils/get-model'; import omit from '../utils/omit'; import resolveModel from '../utils/resolve-model'; const propTypes = { model: PropTypes.string.isRequired, component: Pro...
integration/azure/authentication/azure-v1/auth-code-pkce/WorkflowGenExample/components/HomeComponent.js
advantys/workflowgen-templates
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { View, Text, SectionList } from 'react-native'; import { Container, Separator } from '.'; class HomeComponent extends Component { constructor (props) { super(props); this.renderBody = this.renderBody.bind(this); ...
src/containers/AddServerForm.js
tiagofumo/renaSMS
import React, { Component } from 'react'; import { View, Text, ScrollView, StyleSheet, TextInput } from 'react-native'; import TMListView from '../components/TMListView'; import TMMKButton from '../components/TMMKButton'; import { Field, reduxForm, formValueSelector, FieldArray } from 'redux-form'; import { M...
react/20161126/src/js/B.js
fengnovo/diary
import React from 'react' class B extends React.Component { constructor(props) { super(props) } handleClick () { this.props.leave(); history.back(); } componentDidMount () { window.scrollTo(0,0) } render () { return(<div className="detail"> <d...
website/pages/_document.js
rofrischmann/fela
import React from 'react' import Document, { Head, Html, Main, NextScript } from 'next/document' import { renderToNodeList } from 'react-fela' import getFelaRenderer from '../styling/getFelaRenderer' export default class MyDocument extends Document { static async getInitialProps(ctx) { const renderer = getFelaR...
src/index.js
h12345jack/card-Visualization
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; import registerServiceWorker from './registerServiceWorker'; ReactDOM.render(<App />, document.getElementById('root')); registerServiceWorker();
src/routes/notFound/NotFound.js
LevelPlayingField/levelplayingfield
/* @flow */ /** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-2016 Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; import Helmet from ...
src/browser/messages/MessagesBadge.react.js
syroegkin/mikora.eu
import Badge from 'material-ui/Badge'; import Component from 'react-pure-render/component'; import CommunicationMessage from 'material-ui/svg-icons/communication/message'; import React from 'react'; export default class MessagesBadge extends Component { render() { return ( <Badge badgeContent={4} secondar...
docs/src/app/components/pages/components/SelectField/ExampleError.js
spiermar/material-ui
import React from 'react'; import SelectField from 'material-ui/SelectField'; import MenuItem from 'material-ui/MenuItem'; const items = [ <MenuItem key={1} value={1} primaryText="Never" />, <MenuItem key={2} value={2} primaryText="Every Night" />, <MenuItem key={3} value={3} primaryText="Weeknights" />, <Menu...
src/svg-icons/image/control-point-duplicate.js
verdan/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageControlPointDuplicate = (props) => ( <SvgIcon {...props}> <path d="M16 8h-2v3h-3v2h3v3h2v-3h3v-2h-3zM2 12c0-2.79 1.64-5.2 4.01-6.32V3.52C2.52 4.76 0 8.09 0 12s2.52 7.24 6.01 8.48v-2.16C3.64 17.2 2 14.79 2 ...
client/src/react/verify.react.js
sggdv/vegan
import React from 'react'; import ReactDOM from 'react-dom'; let VerifyBox = React.createClass({ render() { return ( <form style={formSignin}> <div className="text-center"> <h2 style={formH2}>验证身份</h2> </div> <div className="form-group"> <div className="input-group"> <span className="...
src/svg-icons/image/brush.js
rhaedes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageBrush = (props) => ( <SvgIcon {...props}> <path d="M7 14c-1.66 0-3 1.34-3 3 0 1.31-1.16 2-2 2 .92 1.22 2.49 2 4 2 2.21 0 4-1.79 4-4 0-1.66-1.34-3-3-3zm13.71-9.37l-1.34-1.34c-.39-.39-1.02-.39-1.41 0L9 12.25...
src/components/soporte/soporte.ant.js
bombe-software/demos
import React, { Component } from 'react'; import { Link } from "react-router-dom"; import { connect } from "react-redux"; import _ from "lodash"; import CircularProgress from 'material-ui/CircularProgress'; import { Field, reduxForm } from "redux-form"; import GenericForm from '../generics/form'; import { insertMensaje...
app/components/IssueIcon/index.js
nadzweb/react-simple-apps
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/client/components/pages/parts/delete-or-remove-collaboration-modal.js
bookbrainz/bookbrainz-site
import * as bootstrap from 'react-bootstrap'; import {faExclamationTriangle, faTimesCircle, faTrashAlt} from '@fortawesome/free-solid-svg-icons'; import {FontAwesomeIcon} from '@fortawesome/react-fontawesome'; import PropTypes from 'prop-types'; import React from 'react'; import request from 'superagent'; const {Aler...
duckr/app/components/DuckDetails/DuckDetails.js
josedab/react-exercises
import React from 'react' import PropTypes from 'prop-types' import { DuckContainer, RepliesContainer } from 'containers' import { mainContainer, container, content, repliesContainer, replyTextAreaContainer, replyTextArea } from './DuckDetails.css' import { subHeader, darkBtn, errorMsg } from 'sharedStyles/styles.c...
rallyboard-v1/src/components/Layout.js
tylerjw/rallyscores
"use strict"; import React from 'react'; import { Link } from 'react-router'; export default class Layout extends React.Component { render() { return ( <div className="app-container"> <header> <Link to="/"> <h1 className="page-title">Rally scores</h1> </Link> ...
node_modules/eslint-config-airbnb/test/test-react-order.js
NathanBWaters/jb_club
import test from 'tape'; import { CLIEngine } from 'eslint'; import eslintrc from '../'; import reactRules from '../rules/react'; import reactA11yRules from '../rules/react-a11y'; const cli = new CLIEngine({ useEslintrc: false, baseConfig: eslintrc, rules: { // It is okay to import devDependencies in tests....
analysis/druidferal/src/modules/talents/Bloodtalons.js
yajinni/WoWAnalyzer
import React from 'react'; import { STATISTIC_ORDER } from 'parser/ui/StatisticsListBox'; import SPELLS from 'common/SPELLS'; import { SpellLink } from 'interface'; import Analyzer, { SELECTED_PLAYER } from 'parser/core/Analyzer'; import HIT_TYPES from 'game/HIT_TYPES'; import Statistic from 'parser/ui/Statistic'; impo...
index.js
cliqz-oss/browser-ios
import 'react-native/Libraries/Core/InitializeCore'; import React from 'react'; import { AppRegistry, StyleSheet, View } from 'react-native'; import { startup, components } from 'browser-core'; import 'babel-polyfill'; // set app global for debugging const appStart = startup.then((app) => { global.app = app; }); co...
src/components/MiniCandidateProfiles.js
nick/boulder-vote
import React, { Component } from 'react'; import { withRouter } from 'react-router' class MineCandidateProfiles extends Component { constructor(props) { super(props) this.state = { marginLeft: 0 }; } render() { return ( <div className="mini-candidates-more-wrap"> ...
src/svg-icons/maps/layers.js
IsenrichO/mui-with-arrows
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsLayers = (props) => ( <SvgIcon {...props}> <path d="M11.99 18.54l-7.37-5.73L3 14.07l9 7 9-7-1.63-1.27-7.38 5.74zM12 16l7.36-5.73L21 9l-9-7-9 7 1.63 1.27L12 16z"/> </SvgIcon> ); MapsLayers = pure(MapsLayer...
src/container/PostsIndex.js
natcreates/react-learning
import React, { Component } from 'react'; import {connect} from 'react-redux'; import {Link} from 'react-router-dom'; import {map} from 'lodash'; import {fetchPosts} from '../actions'; class PostsIndex extends Component { // make the API call as should as we load // called when component present in DOM // called...
examples/cra/src/App.js
sapegin/react-styleguidist
/* eslint-disable */ import React, { Component } from 'react'; import logo from './logo.svg'; import './App.css'; class App extends Component { render() { return ( <div className="App"> <div className="App-header"> <img src={logo} className="App-logo" alt="React logo" /> <h2>Welcome to React</h2> ...
react/Autosuggest/Autosuggest.demo.js
seekinternational/seek-asia-style-guide
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import Autosuggest from './Autosuggest'; import fieldMessageOptions from '../private/FieldMessage/FieldMessage.demo'; import fieldLabelOptions from '../private/FieldLabel/FieldLabel.demo'; class AutosuggestContainer extends Component { sta...
client/src/components/logs/Logs.js
DjLeChuck/recalbox-manager
import React from 'react'; import PropTypes from 'prop-types'; import { translate } from 'react-i18next'; import Loader from 'react-loader'; import Form from 'react-bootstrap/lib/Form'; import Panel from 'react-bootstrap/lib/Panel'; import FieldGroup from '../utils/FieldGroup'; import StickyAlert from '../utils/StickyA...
src/components/Feedback/Feedback.js
globalART19/OrderedOptions
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-present Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; import withStyles from 'isom...
fields/types/email/EmailColumn.js
matthewstyers/keystone
import React from 'react'; import ItemsTableCell from '../../components/ItemsTableCell'; import ItemsTableValue from '../../components/ItemsTableValue'; var EmailColumn = React.createClass({ displayName: 'EmailColumn', propTypes: { col: React.PropTypes.object, data: React.PropTypes.object, }, renderValue () { ...
app/jsx/context_cards/StudentContextTray.js
djbender/canvas-lms
/* * Copyright (C) 2016 - present Instructure, Inc. * * This file is part of Canvas. * * Canvas is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License as published by the Free * Software Foundation, version 3 of the License. * * Canvas is distribut...
docs/app/Examples/collections/Table/Variations/TableExampleColumnCount.js
koenvg/Semantic-UI-React
import React from 'react' import { Table } from 'semantic-ui-react' const TableExampleColumnCount = () => { return ( <Table columns={5}> <Table.Header> <Table.Row> <Table.HeaderCell>Name</Table.HeaderCell> <Table.HeaderCell>Status</Table.HeaderCell> <Table.HeaderCell>A...
blueocean-material-icons/src/js/components/svg-icons/action/opacity.js
kzantow/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const ActionOpacity = (props) => ( <SvgIcon {...props}> <path d="M17.66 8L12 2.35 6.34 8C4.78 9.56 4 11.64 4 13.64s.78 4.11 2.34 5.67 3.61 2.35 5.66 2.35 4.1-.79 5.66-2.35S20 15.64 20 13.64 19.22 9.56 17.66 8zM6 14c.01-2 .62-3.27 1.76-4.4L12 5.27l4....
node_modules/react-native/Libraries/CustomComponents/Navigator/Navigator.js
aspanu/threeSeaShells
/** * Copyright (c) 2013-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. * * Facebook,...
t1_client_react/src/components/gates/authGate.js
tomjal/TicketOne
import React, { Component } from 'react'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import { setApplicationContextAsMockClient, setApplicationContextAsMockEmployee, } from './../../actions/authActionCreators'; import { authManager } from './../../services/authManager'; im...
src/dashboard/DashboardPage.js
makkke/road-so-far-app
import React from 'react' class DashboardPage extends React.Component { state = {} render() { return ( <div>Dashboard</div> ) } } export default DashboardPage