path
stringlengths
5
195
repo_name
stringlengths
5
79
content
stringlengths
25
1.01M
src/routes/Spots/components/SpotUsers/SearchField.js
ZeusTheTrueGod/WindsurfingNetwork-client
// @flow import React from 'react'; import { FormGroup, FormControl } from 'react-bootstrap'; export type StateProps = {| value: string, |}; export type DispatchProps = {| onChange: string => any, |}; type Props = {| ...StateProps, ...DispatchProps |}; export const SearchField = ({ value, onChange }: Props) => { ...
changeTodolist/todos/src/components/App.js
honeyjie/learn-by-doing-React
import React from 'react' import Footer from './Footer' import AddTodoC from '../containers/AddTodo' import VisibleTodoList from '../containers/VisibleTodoList' const App = () => ( <div> <AddTodoC /> <VisibleTodoList /> <Footer /> </div> ) export default App
src/svg-icons/notification/airline-seat-recline-extra.js
tan-jerene/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationAirlineSeatReclineExtra = (props) => ( <SvgIcon {...props}> <path d="M5.35 5.64c-.9-.64-1.12-1.88-.49-2.79.63-.9 1.88-1.12 2.79-.49.9.64 1.12 1.88.49 2.79-.64.9-1.88 1.12-2.79.49zM16 19H8.93c-1.48 0...
packages/icons/src/md/editor/FormatBold.js
suitejs/suitejs
import React from 'react'; import IconBase from '@suitejs/icon-base'; function MdFormatBold(props) { return ( <IconBase viewBox="0 0 48 48" {...props}> <path d="M30.2 23.58c2.57 1.21 4.3 3.8 4.3 6.84 0 4.18-3.23 7.58-7.42 7.58H13V10h12.5c4.51 0 8 3.49 8 8 0 2.05-1.37 4.23-3.3 5.58zM19 15v6h6c1.66 0 3-1.34 ...
src/client/components/home_button.js
berkeley-homes/near-miss-positive-intervention
import React from 'react' const HomeBtn = () => ( <div className='w-100 bg-dark-gray center h-100 pv4 tc'> <div className='w-55'> <button className='w-75 h3 bg-white f_lato br-pill center db main_black_font'> BACK TO HOME </button> </div> </div> ) export default HomeBtn
app/components/ItemList.js
zhanghaj00/shop-reactnative
import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View, TouchableOpacity, Image, ScrollView, ListView, PixelRatio } from 'react-native'; import Common from '../common/constants'; //import Icon from 'react-native-vector-icons/Ionicons'; import ProductCo...
springboot/GReact/src/main/resources/static/app/routes/forms/components/layouts/CheckoutForm.js
ezsimple/java
import React from 'react' import countries from '../../../../components/forms/commons/countries' export default class CheckoutForm extends React.Component { static defaultProps = { countries }; onSubmit(e) { e.preventDefault() console.log('checkout submit stuff') } render() { return ( ...
src/ui/components/DevicePicker/DeviceProblemIndicator.js
mattbasta/pinecast-studio
import React from 'react'; const DeviceProblemIndicator = ({icon, problemText}) => <div className='device-problem-indicator' style={{ display: 'inline-block', padding: '0 10px', position: 'relative', }} > <i className={`fa fa-${icon}`} /> ...
admin/src/borrow/borrow.js
mnichangxin/LibAss
import React from 'react' import styles from './borrow.less' import {Section} from '../section/section.js' class Borrow extends React.Component { constructor(props) { super(props) } render() { const section_title = '预约借书' const box_title = '借书管理' const box_content = <div>T...
src/modules/contextPanel/components/ContextPanelText/ContextPanelText.js
CtrHellenicStudies/Commentary
import React from 'react'; import PropTypes from 'prop-types'; import RaisedButton from 'material-ui/RaisedButton'; import autoBind from 'react-autobind'; // cts import { parseValueUrn } from '../../../cts/lib/parseUrn'; // lib import getContextPanelTextState from '../../lib/getContextPanelTextState'; import getTextN...
packages/my-joy-navigation/src/containers/datacenter.js
geek/joyent-portal
import React from 'react'; import emotion from 'preact-emotion'; import { graphql, compose } from 'react-apollo'; import gql from 'graphql-tag'; import remcalc from 'remcalc'; import groupBy from 'lodash.groupby'; import { Grid, Row, Col } from 'preact-emotion-flexboxgrid'; import { DatacenterPlace, DatacenterReg...
src/shared/components/form/textFieldPublication.js
namroodinc/truth-serum
import React from 'react'; import { observer } from 'mobx-react'; import TextField from 'material-ui/TextField'; import dataActions from '../../actions/dataActions'; @observer export default class TextFieldForm extends React.Component { constructor(props) { super(props); this.state = { value: '' }...
src/containers/Asians/TabControls/Dashboard/Controls/Published/index.js
westoncolemanl/tabbr-web
import React from 'react' import { connect } from 'react-redux' import Button from 'material-ui/Button' import Card, { CardHeader, CardActions, CardContent } from 'material-ui/Card' import onSubmit from './onSubmit' export default connect(mapStateToProps)(({ dispatch, tournament }) => { return ( <Car...
packages/react-scripts/fixtures/kitchensink/src/features/webpack/UnknownExtInclusion.js
stockspiking/create-react-app
/** * 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. */ import Rea...
app/cms.js
montiac/nft6
/*4276 4000 1595 3897*/ import styles from './App.css'; import React from 'react'; /*import ReactCSSTransitionGroup from 'react-addons-css-transition-group';*/ /*import ReactTransitionGroup from 'react-transition-group';*/ import {render, findDOMNode} from 'react-dom'; import {Provider} from 'react-redux' import {cre...
src/routes/register/index.js
dadish-etudes/react-todo
/** * 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 Register from './Registe...
admin/client/App/screens/Item/components/EditFormHeader.js
linhanyang/keystone
import React from 'react'; import { findDOMNode } from 'react-dom'; import { connect } from 'react-redux'; import Toolbar from './Toolbar'; import ToolbarSection from './Toolbar/ToolbarSection'; import EditFormHeaderSearch from './EditFormHeaderSearch'; import { Link } from 'react-router'; import Drilldown from './Dr...
node_modules/react-router/es/MemoryRouter.js
aggiedefenders/aggiedefenders.github.io
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call &...
app/native/containers/AppContainer.native.js
Nakan4u/pokemons-finder
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import { StyleSheet, View } from 'react-native'; import { Route } from 'react-router-native'; import Header from './Header.native'; import { ActionCreators } from '../../actions'; import routes ...
src/encoded/static/components/forms/UserRegistrationForm.js
4dn-dcic/fourfront
'use strict'; import React from 'react'; import PropTypes from 'prop-types'; import _ from 'underscore'; import serialize from 'form-serialize'; import memoize from 'memoize-one'; import { console, object, ajax, JWT, analytics, logger } from '@hms-dbmi-bgm/shared-portal-components/es/components/util'; import { LinkTo...
src/js/components/icons/base/Info.js
linde12/grommet
// (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import CSSClassnames from '../../../utils/CSSClassnames'; import Intl from '../../../utils/Intl'; import Props from '../../../utils/Pro...
src/svg-icons/editor/drag-handle.js
nathanmarks/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...
blueprints/component/files/src/components/__name__/__name__.js
jenyckee/react-redux-midi-rtc
import React from 'react' import classes from './<%= pascalEntityName %>.scss' export const <%= pascalEntityName %> = () => ( <div className={classes['<%= pascalEntityName %>']}> <h1><%= pascalEntityName %></h1> </div> ) export default <%= pascalEntityName %>
src/js/ui/components/userShouldRememberPasswordDialog.js
hiddentao/heartnotes
import _ from 'lodash'; import React from 'react'; import Overlay from './overlay'; import ProgressButton from './progressButton'; import PasswordInput from './passwordInput'; module.exports = React.createClass({ propTypes: { password : React.PropTypes.string, }, getDefaultProps: function() { return ...
src/v2/components/Cell/components/Konnectable/components/KonnectableMetadata/components/MetadataFileExtension/index.js
aredotna/ervell
import React from 'react' import styled from 'styled-components' import PropTypes from 'prop-types' import { space } from 'styled-system' import constants from 'v2/styles/constants' import { fractional } from 'v2/styles/mixins' import { preset } from 'v2/styles/functions' import Text from 'v2/components/UI/Text' c...
src/docs/src/components/Sidebar/Search.js
StarterInc/Ignite
import React from 'react'; import { withPrefix } from 'gatsby'; const apiKey = process.env.ALGOLIA_API_KEY; const indexName = process.env.ALGOLIA_INDEX_NAME; const isProduction = process.env.NODE_ENV === 'production' ? true : false; class Search extends React.Component { state = { disabled: false }; component...
src/containers/json_get.js
b0ts/react-redux-sweetlightstudios-website
import React, { Component } from 'react'; import { connect } from 'react-redux'; // glue between react and redux class JsonGet extends Component { render() { return ( <div> <h2> { (this.props.jsonTest ) ? this.props.jsonTest.title : ""} </h2> <p> { (this.props.jsonTest) ? this.props.jsonTest.content : ""...
app/components/List/index.js
davidnum/chat
import React from 'react'; import Wrapper from './Wrapper'; import Ul from './Ul'; const List = ({ component, items, bottom }) => { const ComponentToRender = component; let content = (<div></div>); if (items) { content = items.map((item, index) => <ComponentToRender key={`item-${index}`} item={item} /...
src/app/components/team/TeamTags/TeamTagsComponent.js
meedan/check-web
import React from 'react'; import PropTypes from 'prop-types'; import { FormattedMessage } from 'react-intl'; import { makeStyles } from '@material-ui/core/styles'; import Box from '@material-ui/core/Box'; import Button from '@material-ui/core/Button'; import Card from '@material-ui/core/Card'; import CardContent from ...
src/components/common/svg-icons/maps/local-florist.js
abzfarah/Pearson.NAPLAN.GnomeH
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsLocalFlorist = (props) => ( <SvgIcon {...props}> <path d="M12 22c4.97 0 9-4.03 9-9-4.97 0-9 4.03-9 9zM5.6 10.25c0 1.38 1.12 2.5 2.5 2.5.53 0 1.01-.16 1.42-.44l-.02.19c0 1.38 1.12 2.5 2.5 2.5s2.5-1.12 2.5-2....
ui/src/js/gifts/RedeemGiftContent.js
Dica-Developer/weplantaforest
import axios from 'axios'; import counterpart from 'counterpart'; import React, { Component } from 'react'; import { browserHistory } from 'react-router'; import IconButton from '../common/components/IconButton'; import Notification from '../common/components/Notification'; import { getConfig } from '../common/RestHelp...
common/components/NotFound.js
kuguarpwnz/musix
import React from 'react' import Helmet from 'react-helmet' const NotFound = () => ( <div> <Helmet title='Not Found' /> <h1>Page Not Found!</h1> </div> ) export default NotFound
renderer/components/Channels/ChannelsMenu/ChannelsMenuHeader.js
LN-Zap/zap-desktop
import React from 'react' import PropTypes from 'prop-types' import { Box, Flex } from 'rebass/styled-components' import { FormattedMessage } from 'react-intl' import { Heading } from 'components/UI' import ChannelsCapacityDonut from '../ChannelsCapacityDonut' import messages from './messages' const ChannelsMenuHeader...
client/src/components/dashboard/common/UserLabel.js
no-stack-dub-sack/alumni-network
import { isEqual } from 'lodash'; import propTypes from 'prop-types'; import React from 'react'; export default class UserLabel extends React.Component { shouldComponentUpdate(nextProps) { return !isEqual(this.props, nextProps); } render() { const { color, folder, image, label, ...
react-flux-mui/js/material-ui/src/svg-icons/action/perm-device-information.js
pbogdan/react-flux-mui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionPermDeviceInformation = (props) => ( <SvgIcon {...props}> <path d="M13 7h-2v2h2V7zm0 4h-2v6h2v-6zm4-9.99L7 1c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99zM17 19H7V5h10v14z"/> ...
src/Icon/Icon.js
kradio3/react-mdc-web
import PropTypes from 'prop-types'; import React from 'react'; import classnames from 'classnames'; const propTypes = { className: PropTypes.string, component: PropTypes.string, name: PropTypes.string.isRequired, }; const defaultProps = { component: 'i', }; const Icon = ({ className, component, name, ...othe...
pages/contact.js
shumarketing/shu-marketing
import React from 'react'; import { Link } from 'react-router'; import { prefixLink } from 'gatsby-helpers'; export default class Index extends React.Component { render() { return ( <div> <h1> Contact Us </h1> <p>Let us know how we can help you.</p> <ul> ...
gui/src/app/containers/simulation-parameters-dialog-container.js
mbonvini/LambdaSim
import React from 'react'; import { connect } from 'react-redux'; import SimulationParametersDialog from '../components/simulation-parameters-dialog'; import log from 'loglevel'; import store from '../store'; class SimulationParametersDialogContainer extends React.Component { constructor (props) { super(props);...
src/app/containers/header/MessagesMenu.js
ucokfm/admin-lte-react
import React from 'react'; import MessagesMenu from '../../../lib/header/MessagesMenu'; const messages = [ { key: 1, id: 1, image: '/node_modules/admin-lte/dist/img/user2-160x160.jpg', name: 'Support Team', text: 'Why not buy a new awesome theme?', timestamp: '5 mins', }, { key: 2, ...
admin/client/components/UpdateForm.js
Ftonso/keystone
import React from 'react'; import ReactDOM from 'react-dom'; import Select from 'react-select'; import Fields from '../fields'; import { plural } from '../utils'; import { BlankState, Button, Form, Modal } from 'elemental'; var UpdateForm = React.createClass({ displayName: 'UpdateForm', propTypes: { isOpen: React....
src/components/LabeledTextArea/index.js
chocolateorange/new-post.crx
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames/bind'; import style from './index.css'; const cx = classNames.bind(style); class LabeledTextArea extends React.Component { render() { const { className, id, name, onChange, placeholde...
client/components/basic/BurgerMenuButton.js
subesokun/Rocket.Chat
import { Box } from '@rocket.chat/fuselage'; import React from 'react'; import './BurgerMenuButton.css'; import { useSession } from '../../contexts/SessionContext'; import { useSidebar } from '../../contexts/SidebarContext'; import { useEmbeddedLayout } from '../../hooks/useEmbeddedLayout'; export const BurgerMenuBut...
src/Users.js
iamtonybologna/freebird
import React, { Component } from 'react'; import cookie from 'react-cookie'; // theme information, imports colors and material-ui information from node modules import getMuiTheme from 'material-ui/styles/getMuiTheme'; import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'; import {fade} from 'material-ui/u...
demo/DemoIndex.js
Mrsunsunshine/wetland
import React from 'react'; import {AppRegistry} from 'react-native'; //import Hello from './00_Hello/HelloRN'; //import Prop from './00_Hello/Props'; //import State from './00_Hello/State'; //import FlexTest from './01_Flex/FlexTest'; //import FetchWeather from './02_Fetch/FetchWeather'; //import TestBanner fro...
app/javascript/mastodon/features/following/index.js
dunn/mastodon
import React from 'react'; import { connect } from 'react-redux'; import ImmutablePureComponent from 'react-immutable-pure-component'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { debounce } from 'lodash'; import LoadingIndicator from '../../components/loading...
imports/ui/pages/Profile/Profile.js
jamiebones/Journal_Publication
/* eslint-disable no-underscore-dangle */ import React from 'react'; import PropTypes from 'prop-types'; import { Row, Col, FormGroup, ControlLabel, Button } from 'react-bootstrap'; import { capitalize } from '@cleverbeagle/strings'; import { Meteor } from 'meteor/meteor'; import { Accounts } from 'meteor/accounts-bas...
viewer/core/static/js/app/components/containers/chart-detail-container.js
openjck/distribution-viewer
import React from 'react'; import { connect } from 'react-redux'; import * as d3Array from 'd3-array'; import ChartDetail from '../views/chart-detail'; import NotFound from '../views/not-found'; import * as metricApi from '../../api/metric-api'; class ChartDetailContainer extends React.Component { constructor(prop...
src/widgets/DropDown.js
sussol/mobile
/* eslint-disable react/forbid-prop-types */ /** * mSupply Mobile * Sustainable Solutions (NZ) Ltd. 2019 */ import React from 'react'; import PropTypes from 'prop-types'; import { Picker } from '@react-native-community/picker'; import globalStyles, { DARKER_GREY, SUSSOL_ORANGE } from '../globalStyles'; /** * A s...
client/js/app.js
tohashi/vihta
import React from 'react'; import ReactDOM from 'react-dom'; import 'babel-polyfill'; import { createStore, combineReducers, applyMiddleware } from 'redux' import { Provider } from 'react-redux' import { Router, Route, IndexRoute, browserHistory } from 'react-router' import { syncHistoryWithStore, routerReducer } from ...
Demo/StarRatingViewDemo/index.android.js
ksti/react-native-star-rating-view
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View } from 'react-native'; import Demo from './Demo' export default class StarRatingViewDemo extends Component { render() { re...
frontend/jqwidgets/jqwidgets-react/react_jqxcolorpicker.js
liamray/nexl-js
/* jQWidgets v5.7.2 (2018-Apr) Copyright (c) 2011-2018 jQWidgets. License: https://jqwidgets.com/license/ */ import React from 'react'; const JQXLite = window.JQXLite; export const jqx = window.jqx; export default class JqxColorPicker extends React.Component { componentDidMount() { let options = this.ma...
docs/src/app/components/pages/components/BottomNavigation/Page.js
hai-cea/material-ui
import React from 'react'; import Title from 'react-title-component'; import CodeExample from '../../../CodeExample'; import PropTypeDescription from '../../../PropTypeDescription'; import MarkdownElement from '../../../MarkdownElement'; import bottomNavigationReadmeText from './README'; import BottomNavigationExampl...
client/extensions/woocommerce/woocommerce-services/views/packages/package-dialog.js
Automattic/woocommerce-connect-client
/** @format */ /** * External dependencies */ import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { localize } from 'i18n-calypso'; import { concat, difference, flatten, map } from 'lodash'; import Gridicon from 'gridicons'; /** * Internal dependencies */ ...
src/routes/dashboard/components/numberCard.js
tigaly/antd-admin
import React from 'react' import PropTypes from 'prop-types' import { Icon, Card } from 'antd' import CountUp from 'react-countup' import styles from './numberCard.less' function NumberCard ({ icon, color, title, number, countUp }) { return ( <Card className={styles.numberCard} bordered={false} bodyStyle={{ padd...
library_js/src/components/book.js
HoldYourBreath/Library
import React from 'react'; import {Media} from 'react-bootstrap'; const Book = ({book}) => ( <Media> <Media.Body> <Media.Heading>{book.title}</Media.Heading> </Media.Body> </Media> ); export default Book;
src/App.js
bcroden/timesheet-generator
import React from 'react'; import DatePicker from 'material-ui/DatePicker'; import Helmet from 'react-helmet'; import './index.css'; import Timesheet from './Timesheet'; const oneDayInMs = 1000 * 60 * 60 * 24; const halfDayInMs = oneDayInMs / 2; const formatDate = new Intl.DateTimeFormat(undefined, { year: 'nu...
src/components/exercises/BuildSentence.stories.js
cognostics/serlo-abc
import React from 'react'; import { storiesOf } from '@storybook/react-native'; import BuildSentence from './BuildSentence'; storiesOf('exercises/BuildSentence', module).add('example', () => ( <BuildSentence sentence={[ 'JavaScript', 'React', 'using', 'mobile', 'Build', 'apps...
src/containers/HomePage.js
kmcarter/karaoke-song-lister
import React from 'react'; import SearchForm from '../components/SearchForm'; import AlphabetList from '../components/common/AlphabetList'; const HomePage = () => { return ( <div> <div className="jumbotron mt-3"> <h1 className="text-center"> <img src="/images/llp_logo.png" alt="LividLiqui...
src/NavbarOld.js
himanshu8426/himanshu8426.github.io
import React from 'react'; import styled from 'styled-components'; const Heading = styled.h1` font-family: 'Montserrat', sans-serif; color: aqua; padding-left: 2%; padding-top: 1%; ` function NavBar(){ return( <div> <Heading>Himanshu.</Heading> </div> ); } export defa...
src/scenes/home/codeSchools/stateSortedSchools/stateSortedSchools.js
tskuse/operationcode_frontend
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import Section from 'shared/components/section/section'; import Select from 'react-select'; import SchoolCard from 'shared/components/schoolCard/schoolCard'; import styles from './stateSortedSchools.css'; import stateOptions from './stateOpti...
packages/react-scripts/fixtures/kitchensink/src/features/webpack/JsonInclusion.js
amido/create-react-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 { abstract } from './assets/abstract.json'; export default () => <summary id="feature-json-inclusion"...
src/svg-icons/image/control-point.js
ichiohta/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageControlPoint = (props) => ( <SvgIcon {...props}> <path d="M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-...
src/svg-icons/action/dns.js
skarnecki/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionDns = (props) => ( <SvgIcon {...props}> <path d="M20 13H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1v-6c0-.55-.45-1-1-1zM7 19c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zM20 3H4c-.55 0-1 .45-1 1v...
src/Parser/RestoDruid/Modules/Traits/InfusionOfNature.js
mwwscott0/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS'; import SpellIcon from 'common/SpellIcon'; import SpellLink from 'common/SpellLink'; import { formatPercentage } from 'common/format'; import Module from 'Parser/Core/Module'; import Combatants from 'Parser/Core/Modules/Combatants'; import HealingDone from...
server/sonar-web/src/main/js/apps/project-permissions/app.js
vamsirajendra/sonarqube
import $ from 'jquery'; import React from 'react'; import ReactDOM from 'react-dom'; import Main from './main'; function requestPermissionTemplates () { return $.get(baseUrl + '/api/permissions/search_templates'); } window.sonarqube.appStarted.then(options => { requestPermissionTemplates().done(r => { var el ...
src/containers/Admin/Users/Users.js
EncontrAR/backoffice
import React, { Component } from 'react'; import Table from '../../../components/uielements/table'; import Pagination from '../../../components/uielements/pagination'; import Button from '../../../components/uielements/button'; import { Row, Col } from 'antd'; import Moment from 'react-moment'; import userActions from ...
static/src/js/pages/HomePage.js
enginyoyen/blackcrystal
import React from 'react'; import NavMain from '../components/navigation/NavMain'; import PageFooter from '../components/PageFooter'; import PageHeader from '../components/PageHeader'; import { Grid } from 'react-bootstrap'; import { Alert } from 'react-bootstrap'; import { Glyphicon } from 'react-bootstrap'; import {...
features/apimgt/org.wso2.carbon.apimgt.admin.feature/src/main/resources/admin/source/src/app/components/Base/Footer/Footer.js
thusithak/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...
src/docs/src/components/Blog/BlogArticle/BlogArticle.js
StarterInc/Ignite
import React from 'react'; import MDXRenderer from 'gatsby-mdx/mdx-renderer'; import { Link, withPrefix } from 'gatsby'; import Typography from '../../Typography'; export default class BlogArticle extends React.Component { render() { return ( <> <Breadcrumb activePage={this.pro...
src/components/Lib/Loading.js
partneran/partneran
import React from 'react'; const Loading = () => { return ( <div className="dots-container"> <div className="dots"></div> <div className="dots"></div> <div className="dots"></div> <div className="dots"></div> <div className="dots"></div> </div> ) } export default Loading;
src/components/receiptUpload/Instructions.js
lukebelliveau/aclu-matchers
import React from 'react'; import { StyleSheet, css } from 'aphrodite'; import { font, background, container } from '../../styles/shared'; const styles = StyleSheet.create({ container, cover: background.size.cover, bold: font.weight.bold, hero: { padding: '5px 50px 25px', color: '#373e44', }, chevr...
src/components/UIShell/Content.js
joshblack/carbon-components-react
/** * Copyright IBM Corp. 2016, 2018 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import { settings } from 'carbon-components'; import cx from 'classnames'; import PropTypes from 'prop-types'; import React from 'react'; co...
app/pages/index/UserDetail/containers/Head/index.js
czy0729/react-alumni
'use strict'; import React from 'react'; import { AvatarBlock } from 'components'; import Btn from './btn'; const Head = (props) => { const { detail, doExchangeCard, doAllowExchangeCard } = props; return ( <AvatarBlock src={detail.headimgurl} extra={ <Btn ...
src/px-branding-bar/px-ge-svg-logo.js
jonniespratley/px-components-react
import React from 'react'; import styles from './px-ge-svg-logo.scss'; export default () =>( <svg x="0" y="0" width="20" height="20" viewBox="-280 372 50 50"> <path d="M-255 422c-13.8 0-25-11.1-25-25 0-13.8 11.2-25 25-25s25 11.2 25 25C-230 410.9-241.2 422-255 422zM-255 373.2c-13.1 0-23.8 10.7-23.8 23.8s10.7 23.8 23...
src/components/charts/EchartsForce.js
kriml76/react-try
/** * Created by SEELE on 2017/8/23. */ import React, { Component } from 'react'; import ReactEcharts from 'echarts-for-react'; const option = { title: { text: '' }, tooltip: {}, animationDurationUpdate: 1500, animationEasingUpdate: 'quinticInOut', label: { normal: { ...
webapp/src/routes/rest/index.js
templatetools/trace
import React from 'react' import PropTypes from 'prop-types' import { routerRedux } from 'dva/router' import { connect } from 'dva' import { Row, Col, Button, Popconfirm } from 'antd' import {Modal} from 'antd' import List from './List' import Filter from './Filter' import ModalForm from './Modal' import { DropOption ...
src/index.js
apurvamaloo/ZoloAssignment
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import { createStore, applyMiddleware } from 'redux'; import App from './components/app'; import reducers from './reducers'; const createStoreWithMiddleware = applyMiddleware()(createStore); ReactDOM.render( <Provi...
frontend/app_v2/src/common/widgetIcons/Media.js
First-Peoples-Cultural-Council/fv-web-ui
import React from 'react' import PropTypes from 'prop-types' function Media({ styling }) { return ( <svg className={styling} viewBox="0 0 1200 1200" xmlns="http://www.w3.org/2000/svg"> <g> <path d="M1090.9 60H109.09c-27.121 0-49.094 21.973-49.094 49.094 0 27.109 21.973 49.094 49.094 49.094h981.82c2...
src/layout/Paginator.js
rodrigocipriani/br-react-utils
import React, { Component } from 'react'; import PropTypes from 'prop-types'; class Paginator extends Component { handleChangePage = (pageNumber) => { this.props.onChangePage(pageNumber); }; nextPage = (currentPage, isFirstPage) => { if (!isFirstPage) { this.handleChangePage(currentPage + 1); } }; ...
public/app/components/control.js
vincent-tr/mylife-home-ui
'use strict'; import React from 'react'; import { utils } from 'mylife-home-ui-common'; function getStyleSizePosition(control) { const { left, top, height, width } = control; return { left, top, height, width }; } class Control extends React.PureComponent { constructor(props) { super(props); this.in...
src/index.js
fryymann715/merciful-eland
import React from 'react' import { render } from 'react-dom' import { Router, Route, browserHistory } from 'react-router' import App from './components/app' render(( <Router history={browserHistory}> <Route component={App} path="/" /> </Router> ), document.getElementById('app'))
code/frontend/src/components/Reports/TableBuilder.js
CPSC319-2017w1/coast.the-terminal
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import PivotTableUI from 'react-pivottable/PivotTableUI'; import createPlotlyComponent from 'react-plotly.js/factory'; import createPlotlyRenderers from 'react-pivottable/PlotlyRenderers'; import TableRenderers from 'r...
HotelAndroid/getLatestBidInfo.js
MJ111/hotel-reverse
import React, { Component } from 'react'; import { Alert, StyleSheet, Text, View, TextInput, AsyncStorage, ToastAndroid, ScrollView, Dimensions, } from 'react-native'; import Button from 'react-native-button'; import axios from 'axios'; import MapView from 'react-native-maps'; import areaInfo from '....
src/home/Home.js
merylturner/budget-app
import React from 'react'; import { Link } from 'react-router-dom'; import { connect } from 'react-redux'; const GetStarted = () => ( <p> <Link to="/auth/signin">Signin</Link> {' or '} <Link to="/auth/signup">Signup</Link> {' to get started.'} </p> ); function Home() { retu...
tools/toolsjs/src/components/Deduplicate.js
ahernp/DMCM
import React from 'react'; export default class Deduplicate extends React.Component { constructor() { super(); this.state = { input: 'Record3\nRecord4\nRecord4\nRecord1', output: 'Record1\nRecord3\nRecord4' }; this.changeInput = this.changeInput.bind(this); ...
src/components/frame/Single.js
golemfactory/golem-electron
import React from 'react'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import * as Actions from '../../actions'; import ControlPanel from './ControlPanel'; import ImageZoom from './ImageZoom'; import SubTask from './SubTask'; const CLOSE_BTN_PATH = '/preview/all'; let tmpIndex...
app/components/Loading.js
jcarva/get_weather
import React from 'react' import { SingleComponentContainer } from '../components/Containers' const LoadingUI = () => { return ( <div className="loading-ui"> <div className="loader"></div> <h1>LOOKING OUTSIDE FOR YOU...</h1><h1>ONE SECOND</h1> </div> ) }; const Loading = () => { return( ...
addons/events/src/components/Event.js
enjoylife/storybook
import React, { Component } from 'react'; import json from 'format-json'; import Textarea from 'react-textarea-autosize'; import PropTypes from 'prop-types'; const styles = { item: { padding: '10 0', }, buttonWrapper: { textAlign: 'center', }, button: { display: 'inline-block', fontFamily: ` ...
src/components/Assets/Stars/Two.js
Ftornik/forwardteam.space
import React, { Component } from 'react'; import svg from 'lib/svg'; @svg({ width: 242, height: 117 }) export default class TwoStars extends Component { render = () => { const st2Style = { opacity: '0.5' }; /* eslint-disable */ return ( <g id="XMLID_...
node_modules/bs-recipes/recipes/webpack.react-hot-loader/app/js/main.js
zhy32008/webCMS
import React from 'react'; // It's important to not define HelloWorld component right in this file // because in that case it will do full page reload on change import HelloWorld from './HelloWorld.jsx'; React.render(<HelloWorld />, document.getElementById('react-root'));
client/src/components/pages/History/MonthDetail.js
mbchoa/presence
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { map } from 'lodash'; import { format } from 'date-fns'; import { getMonthSessions } from '../../../redux/actions'; import { calculateOverflowTime } from '../../../helpers/timer'; class MonthDe...
frontend/src/screens/history/widgets/table-history/history-data/history-data.js
desihub/qlf
import React from 'react'; import TableRow from '@material-ui/core/TableRow'; import TableCell from '@material-ui/core/TableCell'; import PropTypes from 'prop-types'; import { withStyles } from '@material-ui/core/styles'; import CircularProgress from '@material-ui/core/CircularProgress'; import Checkbox from '@material...
packages/metadata-react/src/DataField/FieldInfinit/OuterDialog.js
oknosoft/metadata.js
import Dialog from '../../App/Dialog'; import React from 'react'; /** * * * @module OuterDialog * * Created by Evgeniy Malyarov on 22.10.2018. */ export default function OuterDialog(props) { const {_obj, _fld, dialogOpened, handleSelect, components: {DataList, DataObj, DataTree}, _owner} = props; const {_m...
src/svg-icons/editor/format-color-text.js
ruifortes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorFormatColorText = (props) => ( <SvgIcon {...props}> <path fillOpacity=".36" d="M0 20h24v4H0z"/><path d="M11 3L5.5 17h2.25l1.12-3h6.25l1.12 3h2.25L13 3h-2zm-1.38 9L12 5.67 14.38 12H9.62z"/> </SvgIcon> );...
packages/ringcentral-widgets-docs/src/app/pages/Components/MessageTabButton/Demo.js
u9520107/ringcentral-js-widget
import React from 'react'; // eslint-disable-next-line import MessageTabButton from 'ringcentral-widgets/components/MessageTabButton'; const props = {}; props.icon = (<span>Node</span>); props.width = undefined; /** * A example of `MessageTabButton` */ const MessageTabButtonDemo = () => ( <MessageTabButton {....
src/svg-icons/image/leak-remove.js
matthewoates/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageLeakRemove = (props) => ( <SvgIcon {...props}> <path d="M10 3H8c0 .37-.04.72-.12 1.06l1.59 1.59C9.81 4.84 10 3.94 10 3zM3 4.27l2.84 2.84C5.03 7.67 4.06 8 3 8v2c1.61 0 3.09-.55 4.27-1.46L8.7 9.97C7.14 11.24...
dapp/src/routes/txs/containers/page.js
airalab/DAO-IPCI
import React from 'react' import { connect } from 'react-redux' import i18next from 'i18next' import Layout from '../../../shared/components/common/layout'; const Container = (props) => { const { title, menu, children } = props return (<Layout title={title} menu={menu} > {children} </Layout>) } f...
actor-apps/app-web/src/app/components/Main.react.js
jiguoling/actor-platform
import React from 'react'; import requireAuth from 'utils/require-auth'; import VisibilityActionCreators from '../actions/VisibilityActionCreators'; import FaviconActionCreators from 'actions/FaviconActionCreators'; import FaviconStore from 'stores/FaviconStore'; import ActivitySection from 'components/ActivitySecti...
src/pages/index.js
Hsmarques/WeddingSiteDeploy
import React from 'react' import Link from 'gatsby-link' import Helmet from 'react-helmet' import Img from 'gatsby-image' import Item from '../components/item' const info = [ { id: 0, title: `Cerimónia`, location: `Capela de São Miguel`, link: `https://www.google.co.uk/maps/place/Chapel+of+S%C3%A3o+...
app/src/components/Chat/Selector.js
RekkyRek/tic
import '../../assets/css/Chat/Selector.sass'; import React, { Component } from 'react'; import Twemoji from 'react-twemoji'; class Selector extends React.Component { constructor(props) { super(props); this.state = { selected: 0 } } down() { if(this.state.selected + 1 < this.props.items.leng...