path
stringlengths
5
195
repo_name
stringlengths
5
79
content
stringlengths
25
1.01M
core/src/plugins/gui.ajax/res/js/ui/HOCs/animations/make-staggered.js
ChuckDaniels87/pydio-core
/** * Copyright (c) 2013-present, Facebook, Inc. All rights reserved. * * This file provided by Facebook is for non-commercial testing and evaluation * purposes only. Facebook reserves all rights not expressly granted. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCL...
src/parser/druid/balance/CONFIG.js
sMteX/WoWAnalyzer
import React from 'react'; import { Gebuz } from 'CONTRIBUTORS'; import retryingPromise from 'common/retryingPromise'; import SPECS from 'game/SPECS'; import CHANGELOG from './CHANGELOG'; export default { // The people that have contributed to this spec recently. People don't have to sign up to be long-time mainta...
src/js/visuals/App.js
CT-Data-Collaborative/edi-v2
import React, { Component } from 'react'; import StackedBarChart from './components/StackedBar'; import EdiMap from './components/Maps'; import Select from 'react-select'; class App extends Component { constructor(props) { super(props); const mainElement = document.getElementById('main'); this.state = { ...
src/js/components/icons/base/SocialGithub.js
odedre/grommet-final
/** * @description SocialGithub SVG Icon. * @property {string} a11yTitle - Accessibility Title. If not set uses the default title of the status icon. * @property {string} colorIndex - The color identifier to use for the stroke color. * If not specified, this component will default to muiTheme.palette.textColor. ...
stories/Tooltip/Core/index.js
skyiea/wix-style-react
import React from 'react'; import {storiesOf} from '@storybook/react'; import Markdown from '../../utils/Components/Markdown'; import CodeExample from '../../utils/Components/CodeExample'; import Readme from '../../../src/Tooltip/README.md'; import ExamplePlacement from './ExamplePlacement'; import ExamplePlacementRa...
client/modules/App/__tests__/Components/Footer.spec.js
aksm/refactored-palm-tree
import React from 'react'; import test from 'ava'; import { shallow } from 'enzyme'; import { Footer } from '../../components/Footer/Footer'; test('renders the footer properly', t => { const wrapper = shallow( <Footer /> ); t.is(wrapper.find('p').length, 2); t.is(wrapper.find('p').first().text(), '© 2016 ...
src/components/Layout.js
douglascorrea/react-hot-redux-firebase-starter
import React from 'react'; import Header from './common/Header'; import {connect} from 'react-redux'; import {bindActionCreators} from 'redux'; import {signOut} from '../actions/authActions'; class Layout extends React.Component { constructor(props, context) { super(props, context); } render() { const ...
src/routes/employee/index.js
uptive/react-starter-kit
import React from 'react'; import Employee from './Employee'; export default { path: '/employee/:id', async action(context) { return { title: 'Employee', component: <Employee id={ context.params.id } />, }; }, };
crowdpact/static/js/apps/landing/components/LandingHeader.js
joshmarlow/crowdpact
import debounce from 'lodash/function/debounce'; import React from 'react'; import LandingActions from '../actions/LandingActions'; class LandingHeader extends React.Component { constructor(...args) { super(...args); this.onClickLogin = this.onClickLogin.bind(this); this.onSearch = debou...
rojak-ui-web/src/app/kit/SocialMedia.js
CodeRiderz/rojak
import React from 'react' import { Link } from 'react-router' import styles from './SocialMedia.css' class SocialMedia extends React.Component { static propTypes = { instagram: React.PropTypes.string, twitter: React.PropTypes.string, facebook: React.PropTypes.string, style: React.PropTypes.object }...
examples/counter/index.js
jquense/redux
import React from 'react'; import App from './containers/App'; React.render( <App />, document.getElementById('root') );
app/app/index.js
natecavanaugh/github-pulls
import React from 'react'; import {render} from 'react-dom'; import {Provider} from 'react-redux'; import routes from './routes'; import configureStore from './store/configureStore'; import {loginSuccess, loginComplete} from './actions/login'; import {loadConfig} from './actions/config'; import {updateCheck} from './ac...
frontend/src/index.js
rayyildiz/twitter-streaming
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; import './index.css'; ReactDOM.render( <App />, document.getElementById('root') );
website/Home.js
sahat/boilerplate
import haikunate from 'haikunator'; import React from 'react'; import Header from './Header'; import Footer from './Footer'; import Platform from './sections/Platform'; import StaticSiteGenerator from './sections/StaticSiteGenerator'; import JsLibrary from './sections/JsLibrary'; import Framework from './sections/Frame...
src/Parser/Druid/Guardian/Modules/Sets/Tier21_2P.js
hasseboulen/WoWAnalyzer
import React from 'react'; import Analyzer from 'Parser/Core/Analyzer'; import Combatants from 'Parser/Core/Modules/Combatants'; import SpellUsable from 'Parser/Core/Modules/SpellUsable'; import SpellIcon from 'common/SpellIcon'; import SpellLink from 'common/SpellLink'; import SPELLS from 'common/SPELLS'; // Formats ...
src/@ui/Icon/icons/LeafSolid.js
NewSpring/Apollos
import React from 'react'; import PropTypes from 'prop-types'; import { Svg } from '../../Svg'; import makeIcon from './makeIcon'; const Icon = makeIcon(({ size = 32, fill, ...otherProps } = {}) => ( <Svg width={size} height={size} viewBox="0 0 24 24" {...otherProps}> <Svg.Path d="M12 22C5.2 22 2 17.52 2 1...
index.ios.js
lukewalt/buzzpoint
'use strict'; import React, { Component } from 'react'; import { AppRegistry, Text, View, NavigatorIOS, } from 'react-native'; import styles from './styles/styles' import LoginRegister from './components/signInRegister' import Rating from './components/rating' export default class buzzpoint extends Component...
components/Icon/Icon.js
iest/loggins
import React, { Component } from 'react'; import invariant from 'invariant'; import styles from './Icon.css'; import icons from './icons'; export default class Icon extends Component { constructor(props) { super(props); invariant( icons[props.name], `Icon(): No icon exists for "${props.name}"` ...
jqwidgets/jqwidgets-react/react_jqxwindow.js
UCF/IKM-APIM
/* jQWidgets v5.6.0 (2018-Feb) Copyright (c) 2011-2017 jQWidgets. License: https://jqwidgets.com/license/ */ import React from 'react'; const JQXLite = window.JQXLite; export const jqx = window.jqx; export default class JqxWindow extends React.Component { componentDidMount() { let options = this.manageA...
src/components/d3components/Node.js
nbuechler/studious-display
import React from 'react'; import ReactDOM from 'react-dom'; import d3 from 'd3'; import _ from 'underscore'; export default class Node extends React.Component { constructor (props) { super(props); this.state = { }; } _handleOver(d) { var shifter = 30; // This gets the whole tooltip away from the n...
demo/component/TextDemo.js
sdoomz/recharts
import React, { Component } from 'react'; import { Text } from 'recharts'; class TextDemo extends Component { state = { exampleText: 'This is really long text', x: 0, y: 0, width: 300, height: 200, angle: 0, scaleToFit: false, textAnchor: 'start', verticalAnchor: 'start', font...
src/components/Feedback/Feedback.js
Batname/react-starter-kit
/*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */ import React from 'react'; import styles from './Feedback.less'; import withStyles from '../../decorators/withStyles'; @withStyles(styles) class Feedback { render() { return ( <div className="Feedback"> <div className="Feedb...
examples/huge-apps/routes/Course/components/Course.js
kurayama/react-router
/*globals COURSES:true */ import React from 'react' import Dashboard from './Dashboard' import Nav from './Nav' const styles = {} styles.sidebar = { float: 'left', width: 200, padding: 20, borderRight: '1px solid #aaa', marginRight: 20 } class Course extends React.Component { render() { let { childre...
src/svg-icons/notification/airline-seat-recline-normal.js
tan-jerene/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationAirlineSeatReclineNormal = (props) => ( <SvgIcon {...props}> <path d="M7.59 5.41c-.78-.78-.78-2.05 0-2.83.78-.78 2.05-.78 2.83 0 .78.78.78 2.05 0 2.83-.79.79-2.05.79-2.83 0zM6 16V7H4v9c0 2.76 2.24 5...
actor-apps/app-web/src/app/components/dialog/TypingSection.react.js
ketoo/actor-platform
import React from 'react'; import { PureRenderMixin } from 'react/addons'; import classNames from 'classnames'; import DialogStore from 'stores/DialogStore'; export default React.createClass({ mixins: [PureRenderMixin], getInitialState() { return { typing: null, show: false }; }, compon...
src/components/Developer/DeveloperList.js
iamraphson/mernmap
/** * Created by Raphson on 10/14/16. */ import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import { Link } from 'react-router'; export default class DeveloperList extends Component { constructor() { super(); } render(){ return ( <div className="col-l...
src/parser/warrior/fury/modules/spells/RampageCancelled.js
fyruna/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS'; import SpellLink from 'common/SpellLink'; import { formatPercentage } from 'common/format'; import Analyzer from 'parser/core/Analyzer'; const RAMPAGE_HITS_PER_CAST = 4; class RampageCancelled extends Analyzer { // Rampage is in fact 5 separate spells...
todo-iflux-es6/assets/js/components/footer.react.js
hufeng/todomvc
import React from 'react'; import PureComponent from './pure-component'; /** * footer */ export default class Footer extends PureComponent { render() { console.log('footer rendering....'); return ( <footer id="info"> <p>Double-click to edit a todo</p> <p>Created by <a href="http://...
src/svg-icons/maps/local-airport.js
barakmitz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsLocalAirport = (props) => ( <SvgIcon {...props}> <path d="M21 16v-2l-8-5V3.5c0-.83-.67-1.5-1.5-1.5S10 2.67 10 3.5V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5l8 2.5z"/> </SvgIcon> ); MapsLocalA...
docs/app/Examples/collections/Table/Variations/TableExampleColumnWidth.js
Rohanhacker/Semantic-UI-React
import React from 'react' import { Table } from 'semantic-ui-react' const TableExampleColumnWidth = () => { return ( <Table> <Table.Header> <Table.Row> <Table.HeaderCell width={10}>Name</Table.HeaderCell> <Table.HeaderCell width='six'>Status</Table.HeaderCell> </Table.Ro...
src/svg-icons/image/switch-video.js
ngbrown/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageSwitchVideo = (props) => ( <SvgIcon {...props}> <path d="M18 9.5V6c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-3.5l4 4v-13l-4 4zm-5 6V13H7v2.5L3.5 12 7 8.5V11h6V8.5l3.5 3.5-3.5...
blueprints/dumb/files/__root__/components/__name__/__name__.js
nicolas-amabile/counter
import React from 'react' type Props = { }; export class <%= pascalEntityName %> extends React.Component { props: Props; render () { return ( <div></div> ) } } export default <%= pascalEntityName %>
stories/Popover.stories.js
reactstrap/reactstrap
import React from 'react'; export default { title: 'Components/Popover', parameters: { docs: { description: { component: '[Bootstrap Popovers](https://getbootstrap.com/docs/5.1/components/popovers/)' } } } }; export { default as Popover } from './examples/Popover'; export { default a...
src/routes/Async/components/Async.js
janoist1/universal-react-redux-starter-kit
import React from 'react' import Helmet from 'react-helmet' import { resolve } from 'react-resolver' @resolve('fetchedData', function(props) { const { fetchData } = props return fetchData().then(action => action.payload) }) export class Async extends React.Component { render() { const { fetchedData } = this...
stories/CardContent.stories.js
nekuno/client
import React from 'react'; import { storiesOf } from '@storybook/react'; import { action } from '@storybook/addon-actions'; import { linkTo } from '@storybook/addon-links' import CardContent from '../src/js/components/ui/CardContent/CardContent.js'; storiesOf('CardContent', module) .add('with text', () => ( ...
examples/passing-props-to-children/app.js
batmanimal/react-router
import React from 'react'; import { Router, Route, Link, History } from 'react-router'; var App = React.createClass({ mixins: [ History ], getInitialState() { return { tacos: [ { name: 'duck confit' }, { name: 'carne asada' }, { name: 'shrimp' } ] }; }, addTaco() {...
webpack/containers/Application/index.js
Katello/katello
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { BrowserRouter as Router } from 'react-router-dom'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import { orgId } from '../../services/api'; import * as actions from '../../scenes/Organizations/Or...
src/esm/components/graphics/icons/lock-icon/index.js
KissKissBankBank/kitten
import _extends from "@babel/runtime/helpers/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose"; var _excluded = ["color", "title", "width", "height"]; import React from 'react'; import PropTypes from 'prop-types'; import COLORS from '../../../../constants/colors-c...
source/common/components/HomePage/HomePage.js
shery15/react
import React from 'react'; import { Link } from 'react-router'; import RaisedButton from 'material-ui/RaisedButton'; import TextField from 'material-ui/TextField'; const HomePage = ({ userId, onSubmitUserId, onChangeUserId }) => { return ( <div> <TextField hintText="Please Key in your Github ...
stories/Popover.js
propertybase/react-lds
import React from 'react'; import { storiesOf } from '@storybook/react'; import { action } from '@storybook/addon-actions'; import { boolean, text, select } from '@storybook/addon-knobs'; import { Popover, MediaObject, Icon } from '../src'; import { getThemesWithoutTexture } from './utils/helpers'; const stories = sto...
src/components/article/HeaderOne.js
garfieldduck/twreporter-react
'use strict' import commonStyles from './Common.scss' import styles from './HeaderOne.scss' import classNames from 'classnames' import React from 'react' // eslint-disable-next-line // lodash import get from 'lodash/get' export const HeaderOne = ({ content }) => { return <h1 className={classNames(commonStyles['inne...
src/component/component.js
APSL/redux-i18n
/* * Project: redux-i18n * File: component/component.js */ import React from 'react' import {PropTypes} from 'prop-types' import {setForceRefresh, setLanguage} from '../actions' import getTranslateFunction from '../getTranslateFunction'; class I18n extends React.Component { getChildContext() { const {lang...
docs/src/pages/component-demos/progress/LinearQuery.js
dsslimshaddy/material-ui
// @flow weak import React from 'react'; import PropTypes from 'prop-types'; import { withStyles } from 'material-ui/styles'; import { LinearProgress } from 'material-ui/Progress'; const styles = theme => ({ root: { width: '100%', marginTop: theme.spacing.unit * 3, }, }); function LinearQuery(props) { ...
src/components/home/HomeView.js
ahonn/v2exRN
import React, { Component } from 'react'; import { Text, View, ToolbarAndroid, DrawerLayoutAndroid, StyleSheet } from 'react-native'; import { connect } from 'react-redux'; import SplashScreen from 'react-native-splash-screen'; import Icon from 'react-native-vector-icons/Ionicons'; import ScrollableTabView...
webapp/app/components/Users/Table/index.js
EIP-SAM/SAM-Solution-Server
// // Table page save // import React from 'react'; import { Table } from 'react-bootstrap'; import ButtonPopover from 'components/ButtonPopover'; import UserDeletionModal from 'containers/Users/Table/ModalDeletionUser'; import Tr from 'components/Tr'; import Th from 'components/Th'; import Td from 'components/Td'; im...
springboot/GReact/src/main/resources/static/app/routes/graphs/containers/EasyPieCharts.js
ezsimple/java
import React from 'react' import {Stats, BigBreadcrumbs, WidgetGrid, JarvisWidget} from '../../../components' import EasyPieChartContainer from '../../../components/graphs/inline/EasyPieChartContainer' export default () => ( <div id="content"> <div className="row"> <BigBreadcrumbs items={["E...
app/js/containers/CircleContainer.js
sgt39007/waji_redux
import React from 'react'; import { Container, List, Group, View, } from 'amazeui-touch'; import { Link, } from 'react-router'; import { connect } from 'react-redux'; import * as AppActions from '../redux/actions/AppActions'; import { Login } from '../components'; class CircleContainer extends React.Compon...
web/src/server/components/charts/time-vs-commits-chart.js
opendaylight/spectrometer
/** # @License EPL-1.0 <http://spdx.org/licenses/EPL-1.0> ############################################################################## # Copyright (c) 2016 The Linux Foundation and others. # # All rights reserved. This program and the accompanying materials # are made available under the terms of the Eclipse Public L...
src/js/view/DrawerLists.js
yoichiro/chromeos-filesystem-sftp
import React from 'react'; import PropTypes from 'prop-types'; import { withStyles } from '@material-ui/core/styles'; import classNames from 'classnames'; import Drawer from '@material-ui/core/Drawer'; import IconButton from '@material-ui/core/IconButton' import List from '@material-ui/core/List'; import ListSubheader ...
admin/client/components/Toolbar.js
codevlabs/keystone
import React from 'react'; import { Container } from 'elemental'; module.exports = React.createClass({ displayName: 'Toolbar', render () { return ( <div {...this.props} className="Toolbar"> <Container clearfix > {this.props.children} </Container> </div> ); } }); // expose the children to t...
webpack/components/surveys/SurveyEdit.js
CDCgov/SDP-Vocabulary-Service
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { Link } from 'react-router'; import { Row, Col, Button } from 'react-bootstrap'; import TagsInput from 'react-tagsinput'; import { surveyProps } from '../../prop-types/survey_props'; import { sectionsProps } from '../../prop-types/se...
wrappers/md.js
adjohnson916/site-gatsby
import React from 'react' import 'css/markdown-styles.css' module.exports = React.createClass({ propTypes () { return { router: React.PropTypes.object, } }, render () { const post = this.props.route.page.data return ( <div className="markdown"> <h1>{post.title}</h1> <d...
src/modules/CardsGrid.js
maizy/kanbanrum-cards
/** * Copyright (c) Nikita Kovaliov, maizy.ru, 2017 * See LICENSE.txt for details. */ import React from 'react'; import SmallCard from './SmallCard'; function CardsGrid(props) { const cards = props.cards.map(card => <SmallCard card={card} key={card.get('id')} />); return ( <div> <h1>Kanbanrum&#8482;...
src/svg-icons/communication/voicemail.js
rhaedes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let CommunicationVoicemail = (props) => ( <SvgIcon {...props}> <path d="M18.5 6C15.46 6 13 8.46 13 11.5c0 1.33.47 2.55 1.26 3.5H9.74c.79-.95 1.26-2.17 1.26-3.5C11 8.46 8.54 6 5.5 6S0 8.46 0 11.5 2.46 17 5.5 17h13c3...
packages/material-ui-icons/src/Landscape.js
cherniavskii/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <g><path d="M14 6l-3.75 5 2.85 3.8-1.6 1.2C9.81 13.75 7 10 7 10l-6 8h22L14 6z" /></g> , 'Landscape');
project/react-redux/src/pages/index/index.js
FFF-team/generator-earth
// //import base&&tools import 'whatwg-fetch' import 'scss_mixin/reset.scss' //reset 样式 import 'tools/polyfill' import React from 'react' import ReactDOM from 'react-dom' import store from './store/index' import {Provider} from 'react-redux' import { HashRouter as Router, } from 'react-router-dom' // import conta...
src/Parser/Rogue/Common/Resources/EnergyDetails.js
hasseboulen/WoWAnalyzer
import React from 'react'; import Analyzer from 'Parser/Core/Analyzer'; import Tab from 'Main/Tab'; import StatisticBox, { STATISTIC_ORDER } from 'Main/StatisticBox'; import Icon from 'common/Icon'; import ResourceBreakdown from 'Parser/Core/Modules/ResourceTracker/ResourceBreakdown'; import EnergyTracker from './Ene...
blueocean-material-icons/src/js/components/svg-icons/maps/directions-transit.js
jenkinsci/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const MapsDirectionsTransit = (props) => ( <SvgIcon {...props}> <path d="M12 2c-4.42 0-8 .5-8 4v9.5C4 17.43 5.57 19 7.5 19L6 20.5v.5h12v-.5L16.5 19c1.93 0 3.5-1.57 3.5-3.5V6c0-3.5-3.58-4-8-4zM7.5 17c-.83 0-1.5-.67-1.5-1.5S6.67 14 7.5 14s1.5.67 1.5 1...
app/components/team/Show.js
buildkite/frontend
import React from 'react'; import PropTypes from 'prop-types'; import Relay from 'react-relay/classic'; import DocumentTitle from 'react-document-title'; import PageHeader from 'app/components/shared/PageHeader'; import Emojify from 'app/components/shared/Emojify'; import permissions from 'app/lib/permissions'; import...
curator-web/src/js/components/frame/header.js
rajeshnaroth/curator
import React from 'react' import { Link } from 'react-router' const Header = () => ( <nav className="navbar navbar-default navbar-fixed-top"> <section className="userMenu"> <li><Link to='/curate'><span>Curate</span></Link></li> </section> <Link to='/'><h1>Tube2Flix</h1></Link> ...
components/GameGrid.js
turntwogg/esports-aggregator
import React from 'react'; import Link from 'next/link'; import LazyLoad from 'react-lazyload'; import idx from 'idx'; import { useTheme } from '@turntwo/react-ui'; import Heading from './Heading'; import CornerBox from './CornerBox'; import api from '../utils/api'; const GameCard = ({ game }) => { const image = i...
app/javascript/mastodon/features/status/index.js
anon5r/mastonon
import Immutable from 'immutable'; import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { fetchStatus } from '../../actions/statuses'; import MissingIndicator from '.....
app/containers/CatKitDemo/SimpleAdsorbateInput.js
mhoffman/CatAppBrowser
import React from 'react'; import PropTypes, { instanceOf } from 'prop-types'; import { withCookies, Cookies } from 'react-cookie'; import { Link } from 'react-router'; import { compose } from 'recompose'; import _ from 'lodash'; import Grid from 'material-ui/Grid'; import Paper from 'material-ui/Paper'; import Butto...
packages/react-scripts/fixtures/kitchensink/src/features/webpack/SassModulesInclusion.js
ConnectedHomes/create-react-web-app
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import styles from './assets/sass-styles.module.sass'; import indexStyles from './assets/index.module.sass'; ...
Docker/KlusterKiteMonitoring/klusterkite-web/src/components/Form/Modal.js
KlusterKite/KlusterKite
import React from 'react'; import { Modal, Button } from 'react-bootstrap'; import './styles.css'; export default class ModalBlock extends React.Component { static propTypes = { title: React.PropTypes.string.isRequired, cancelText: React.PropTypes.string, confirmText: React.PropTypes.string, confirm...
docs/app/Examples/modules/Dimmer/States/DimmerExampleActive.js
ben174/Semantic-UI-React
import React from 'react' import { Dimmer, Segment } from 'semantic-ui-react' const DimmerExampleActive = () => ( <Segment> <Dimmer active /> <p> <img src='http://semantic-ui.com/images/wireframe/short-paragraph.png' /> </p> <p> <img src='http://semantic-ui.com/images/wireframe/short-par...
src/dumb/editor/NotificationMap.js
jeckhummer/wf-constructor
import React from 'react'; import {Table, Checkbox} from "semantic-ui-react"; export const NotificationMap = ({map, teams, statuses, onChange}) => { return ( <Table definition> <Table.Header> <Table.Row textAlign='center'> <Table.HeaderCell /> ...
src/svg-icons/editor/drag-handle.js
mmrtnz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorDragHandle = (props) => ( <SvgIcon {...props}> <path d="M20 9H4v2h16V9zM4 15h16v-2H4v2z"/> </SvgIcon> ); EditorDragHandle = pure(EditorDragHandle); EditorDragHandle.displayName = 'EditorDragHandle'; Edi...
docs/app/Examples/elements/List/Variations/ListExampleDivided.js
aabustamante/Semantic-UI-React
import React from 'react' import { Image, List } from 'semantic-ui-react' const ListExampleDivided = () => ( <List divided verticalAlign='middle'> <List.Item> <Image avatar src='/assets/images/avatar/small/daniel.jpg' /> <List.Content> <List.Header as='a'>Daniel Louise</List.Header> </L...
src/index.js
hlgbls/ReduxSimpleStarter
import _ from 'lodash'; import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import YTSearch from 'youtube-api-search'; import SearchBar from './components/search_bar'; import VideoList from './components/video_list'; import VideoDetail from './components/video_detail' const API_KEY = 'AIzaSyDU2R...
node_modules/react-router/es/Route.js
Rabbit884/reactapp
import React from 'react'; import invariant from 'invariant'; import { createRouteFromReactElement } from './RouteUtils'; import { component, components } from './InternalPropTypes'; var _React$PropTypes = React.PropTypes, string = _React$PropTypes.string, func = _React$PropTypes.func; /** * A <Route> is use...
src/svg-icons/action/polymer.js
nathanmarks/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionPolymer = (props) => ( <SvgIcon {...props}> <path d="M19 4h-4L7.11 16.63 4.5 12 9 4H5L.5 12 5 20h4l7.89-12.63L19.5 12 15 20h4l4.5-8z"/> </SvgIcon> ); ActionPolymer = pure(ActionPolymer); ActionPolymer.d...
app/private/indexerApp/imports/ui/pages/Ingest.js
ericvrp/GameCollie
import React from 'react'; import { Link } from 'react-router'; import { Row, Col, FormGroup, ControlLabel, FormControl, Button } from 'react-bootstrap'; export default class Ingest extends React.Component { componentDidMount() { } ingestFiles(event) { event.preventDefault(); const itemHashes = [ {"p...
docs/src/app/components/pages/components/List/ExampleSettings.js
w01fgang/material-ui
import React from 'react'; import MobileTearSheet from '../../../MobileTearSheet'; import {List, ListItem} from 'material-ui/List'; import Subheader from 'material-ui/Subheader'; import Divider from 'material-ui/Divider'; import Checkbox from 'material-ui/Checkbox'; import Toggle from 'material-ui/Toggle'; const style...
src/components/topic/snapshots/foci/builder/FocusForm2ConfigureContainer.js
mitmedialab/MediaCloud-Web-Tools
import PropTypes from 'prop-types'; import React from 'react'; import { formValueSelector } from 'redux-form'; import { FormattedMessage, injectIntl } from 'react-intl'; import { connect } from 'react-redux'; import EditSearchContainer from './search/EditSearchContainer'; import EditRetweetPartisanshipContainer from '....
src/client/assets/javascripts/app/routes.js
nicksp/redux-webpack-es6-boilerplate
import React from 'react'; import { Route, IndexRoute, Redirect } from 'react-router'; import App from './App'; import FriendsView from 'features/friends/components/FriendsView'; import NotFoundView from 'components/NotFound'; export default ( <Route path="/" component={App}> <IndexRoute component={FriendsView}...
src/components/const/addedVideoUser.js
motion123/mbookmakerUI
/** * Created by tomino on 17/03/14. */ import React from 'react'; import {List,ListItem} from 'material-ui/List'; import InfiniteScroll from 'react-infinite-scroller'; import CircularProgress from 'material-ui/CircularProgress'; import style from './boardList.css'; import {grey500, darkBlack, lightBlack} from 'mater...
Realization/frontend/czechidm-acc/src/content/provisioning/ProvisioningOperationTable.js
bcvsolutions/CzechIdMng
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import _ from 'lodash'; import { Link } from 'react-router-dom'; // import { Basic, Advanced, Enums, Utils, Managers } from 'czechidm-core'; import SystemEntityTypeEnum from '../../domain/SystemEntityTypeEnum'; import ...
src/components/app.js
RaulEscobarRivas/React-Redux-High-Order-Components
import React, { Component } from 'react'; import Header from './header'; import Content from './content'; export default class App extends Component { render() { return ( <div> <Header /> <Content /> </div> ); } }
src/containers/auth/AuthenticateView.js
OlivierVillequey/hackathon
/** * Authenticate Screen * - Entry screen for all authentication * - User can tap to login, forget password, signup... * * React Native Starter App * https://github.com/mcnamee/react-native-starter-app */ import React, { Component } from 'react'; import { View, Image, StyleSheet, } from 'react-native'; ...
src/svg-icons/device/signal-cellular-connected-no-internet-0-bar.js
pancho111203/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceSignalCellularConnectedNoInternet0Bar = (props) => ( <SvgIcon {...props}> <path fillOpacity=".3" d="M22 8V2L2 22h16V8z"/><path d="M20 22h2v-2h-2v2zm0-12v8h2v-8h-2z"/> </SvgIcon> ); DeviceSignalCellularC...
app/javascript/mastodon/containers/mastodon.js
salvadorpla/mastodon
import React from 'react'; import { Provider, connect } from 'react-redux'; import PropTypes from 'prop-types'; import configureStore from '../store/configureStore'; import { INTRODUCTION_VERSION } from '../actions/onboarding'; import { BrowserRouter, Route } from 'react-router-dom'; import { ScrollContext } from 'reac...
modules/Redirect.js
chrisirhc/react-router
import React from 'react' import invariant from 'invariant' import { createRouteFromReactElement } from './RouteUtils' import { formatPattern } from './PatternUtils' import { falsy } from './PropTypes' const { string, object } = React.PropTypes /** * A <Redirect> is used to declare another URL path a client should b...
actor-apps/app-web/src/app/components/common/Text.react.js
stonegithubs/actor-platform
import _ from 'lodash'; import React from 'react'; import memoize from 'memoizee'; import emojify from 'emojify.js'; import hljs from 'highlight.js'; import marked from 'marked'; import emojiCharacters from 'emoji-named-characters'; emojify.setConfig({ mode: 'img', img_dir: 'assets/img/emoji' // eslint-disable-l...
week3/react/counter-app/src/App.js
jfhinchcliffe/Coderfactory_Term3_Notes
//import React, { Component } from 'react'; // import logo from './logo.svg'; import React from 'react'; import './App.css'; import 'whatwg-fetch'; // Polyfills window.fetch import Counter from './components/Counter'; import fetchAPI from './api/fetchAPI'; import replaceItemWithID from './utils/replaceItemWithId'; cla...
app/containers/WorkSpace/index.js
Zurico/t7
/* * WorkSpacePage * * This is the first thing users see of our App, at the '/' route */ import React from 'react'; import Helmet from 'react-helmet'; import styles from './styles.css'; import { selectWorkSpace } from './selectors'; import { connect } from 'react-redux'; import { mouseTrap } from 'react-mousetrap'...
components/image/index.js
voylinux/voylinux.com-frontend
import React from 'react'; class Image extends React.Component { render() { return ( <img src={this.props.src} className={this.props.class} alt={this.props.alt} /> ) } } export default Image;
components/dash-core-components/src/components/LogoutButton.react.js
plotly/dash
import React from 'react'; import PropTypes from 'prop-types'; import './css/logout.css'; /** * Logout button to submit a form post request to the `logout_url` prop. * Usage is intended for dash-deployment-server authentication. * * DDS usage: * * `dcc.LogoutButton(logout_url=os.getenv('DASH_LOGOUT_URL'))` * ...
app/javascript/mastodon/features/hashtag_timeline/index.js
cobodo/mastodon
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import StatusListContainer from '../ui/containers/status_list_container'; import Column from '../../components/column'; import ColumnHeader from '../../components/column_header'; import ColumnSettingsContainer from './...
imports/components/TabNav.js
tampham47/nau-jukebox
/* © 2017 * @author Tu Nguyen */ /* eslint-disable react/no-array-index-key */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { Container } from 'flux/utils'; import { withTracker } from 'meteor/react-meteor-data'; import ReactGA from 'react-ga'; import AppStore from '../event...
src/client/now/components/phone-number-input.js
michigan-com/nova
'use strict'; import React from 'react'; import { findDOMNode } from 'react-dom'; import xr from 'xr'; import Store from '../store'; import { showInput, dismissInput, hideInputForever, expandInput } from '../actions/phone-number'; import { getTopArticleStyle } from './top-article'; export default class PhoneNumberIn...
src/views/ChannelForm/index.js
chad-ding/koala
/** *@Author: chad.ding *@Copyright: 2017-2018 DMF *@Date: 2017-05-18 16:22:05 */ import React, { Component } from 'react'; import { Form, Input, Switch, Button, Checkbox, Select, Radio, Slider, InputNumber, Breadcrumb, Icon } from 'antd'; import { connect } from 'react-redux'; import { Link } from 'react-router';...
sms_sponsorship/webapp/src/App.js
eicher31/compassion-modules
import React from 'react'; import TopAppBar from './components/TopAppBar'; import ChildCard from './components/ChildCard'; import { translate } from 'react-i18next'; import i18n from './i18n'; import { MuiThemeProvider, createMuiTheme } from '@material-ui/core/styles'; import CenteredLoading from './components/Centered...
client/src/components/CountryDetails.js
mandrive/CountriesApp
import React from 'react'; import cssmodules from 'react-css-modules'; import styles from './styles/countrydetails.cssmodule.scss'; @cssmodules(styles) class CountryDetails extends React.Component { render() { var countryDetails = this.props.selectedCountry && this.props.selectedCountry.Id ...
dynamic/react/api-models/index.js
balasuar/developer-dot
import 'babel-polyfill'; import Model from './model'; import React from 'react'; import {render} from 'react-dom'; const model = window.PAGE_MODEL; const name = window.MODEL_NAME; render(<Model m={model} name={name} />, document.getElementById('react-root'));
front/src/components/App.js
litleleprikon/ds_chat
import React from 'react'; import Header from './header/Header'; import Body from './body/Body'; const App = () => ( <div className="App"> <Header/> <Body/> </div> ); export default App;
app/javascript/mastodon/containers/status_container.js
summoners-riftodon/mastodon
import React from 'react'; import { connect } from 'react-redux'; import Status from '../components/status'; import { makeGetStatus } from '../selectors'; import { replyCompose, mentionCompose, directCompose, } from '../actions/compose'; import { reblog, favourite, unreblog, unfavourite, pin, unpin, }...
src/js/pages/ProfessionalProfileIndustryPage.js
nekuno/client
import PropTypes from 'prop-types'; import React, { Component } from 'react'; import connectToStores from '../utils/connectToStores'; import translate from '../i18n/Translate'; import LoginActionCreators from '../actions/LoginActionCreators'; import LocaleStore from '../stores/LocaleStore'; import ProfileStore from '.....
app/main.js
laynemcnish/walksafely-react
import 'babel/register'; import React from 'react'; import Root from './containers'; import $ from 'jquery'; if(__DEV__) { const devAjaxDebug = require('./util/dev_ajax_debug'); devAjaxDebug.initializeAjaxDebuggingUtils(); } function renderReactApp () { const mountPoint = document.getElementById('root'); Re...
Paths/React/05.Building Scalable React Apps/8-react-boilerplate-building-scalable-apps-m8-exercise-files/Before/app/containers/LoginContainer/index.js
phiratio/Pluralsight-materials
/* * * LoginContainer * */ import React from 'react'; import { connect } from 'react-redux'; import selectLoginContainer from './selectors'; import Login from '../../components/Login'; import { login, cancelLogin } from './actions'; export class LoginContainer extends React.Component { // eslint-disable-line reac...