path stringlengths 5 304 | repo_name stringlengths 6 79 | content stringlengths 27 1.05M |
|---|---|---|
lib/util/contexts.js | opentripplanner/otp-react-redux | import React from 'react'
export const ComponentContext = React.createContext({})
|
src/Modules/Settings/Dnn.PersonaBar.SiteImportExport/SiteImportExport.Web/.eslintskipwords.js | dnnsoftware/Dnn.AdminExperience.Extensions | module.exports = [
"dnn",
"evoq",
"eslint",
"fetch-ie8",
"react-dom",
"lodash",
"bool",
"func",
"dropdown",
"globals",
"init",
"cors",
"api",
"integrations",
"const",
"dom",
"stringify",
"debounce",
"debounced",
"unmount",
"ceil",
"... |
packages/es-components/src/components/controls/textbox/Textbox.js | TWExchangeSolutions/es-components | import React from 'react';
import PropTypes from 'prop-types';
import styled from 'styled-components';
import Icon from '../../base/icons/Icon';
import InputBase from './InputBase';
import { Prepend, Append, InputWrapper } from './TextAddons';
import { useTheme } from '../../util/useTheme';
import ValidationContext fr... |
ajax/libs/oojs-ui/0.24.4/oojs-ui-windows.js | holtkamp/cdnjs | /*!
* OOjs UI v0.24.4
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2018 OOjs UI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2018-01-02T19:08:58Z
*/
( function ( OO ) {
'use strict';
/**
* An ActionWidget is a {@link OO.ui.ButtonWidget ... |
public/assets/application-c32f7b43ef73cc850befd1856d8b4e067c4ed248e90b4ea4793762b7bb4642f2.js | xjoxjox/helpperi | /*!
* jQuery JavaScript Library v1.12.1
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2016-02-22T19:07Z
*/
(function( global, factory ) {
if ( typeof module ... |
public/js/jquery.min.js | OpenSaasAU/BendigoGigGuide-site | /*! jQuery v1.11.3 | (c) 2005, 2015 jQuery Foundation, Inc. | jquery.org/license */
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind... |
packages/material-ui-icons/src/LocalHospital.js | cherniavskii/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<g><path d="M19 3H5c-1.1 0-1.99.9-1.99 2L3 19c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-1 11h-4v4h-4v-4H6v-4h4V6h4v4h4v4z" /></g>
, 'LocalHospital');
|
src/pages/HomePage/HomePage.js | Danjavia/PWA-ReactJS-Starter-Pack | /**
* External Resources
**/
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import RaisedButton from 'material-ui/RaisedButton';
import baseTheme from 'material-ui/styles/baseThemes/lightBaseTheme';
import getMuiTheme from 'material-ui/styles/getMuiTheme';
import injectTapEventPlugin fr... |
ajax/libs/backbone-react-component/0.8.1/backbone-react-component-min.js | pc035860/cdnjs | !function(a,b){"function"==typeof define&&define.amd?define(["react","backbone","underscore"],b):"undefined"!=typeof module&&module.exports?module.exports=b(require("react"),require("backbone"),require("underscore")):b(a.React,a.Backbone,a._)}(this,function(a,b,c){"use strict";function d(a,b,c){this.state={},this.compo... |
ajax/libs/babel-core/5.0.0-beta4/browser.min.js | boneskull/cdnjs | !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.babel=e()}}(function(){var e,t,n;return function r(e,t,... |
frontend/src/components/ChatView.js | nepeat/chatforesnics | import React from 'react';
import Message from './Message';
const ChatView = ({messages}) => {
if (messages.length === 0) {
return <h1>Loading</h1>;
}
let lastSender;
let senderChange = false;
return (
<div className='messages'>
{messages.map((message) => {
if (lastSender !== message.... |
src/svg-icons/image/wb-incandescent.js | pradel/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ImageWbIncandescent = (props) => (
<SvgIcon {...props}>
<path d="M3.55 18.54l1.41 1.41 1.79-1.8-1.41-1.41-1.79 1.8zM11 22.45h2V19.5h-2v2.95zM4 10.5H1v2h3v-2zm11-4.19V1.5H9v4.81C7.21 7.35 6 9.28 6 11.5c0 3.31 2.... |
app/containers/FeaturePage/index.js | PanJ/SimplerCityGlide | /*
* FeaturePage
*
* List all the features
*/
import React from 'react';
import { connect } from 'react-redux';
import { push } from 'react-router-redux';
import Button from 'components/Button';
import H1 from 'components/H1';
import styles from './styles.css';
export class FeaturePage extends React.Component {
... |
src/pages/404.js | agitavitjuvanjan/Team-14 | import React from 'react'
const NotFoundPage = () => (
<div>
<h1>NOT FOUND</h1>
<p>You just hit a route that doesn't exist... the sadness.</p>
</div>
)
export default NotFoundPage
|
packages/material-ui-icons/src/DoneAllSharp.js | allanalexandre/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 1... |
node_modules/babel-preset-react/lib/index.js | wiflsnmo/react_study2 | "use strict";
exports.__esModule = true;
var _babelPresetFlow = require("babel-preset-flow");
var _babelPresetFlow2 = _interopRequireDefault(_babelPresetFlow);
var _babelPluginTransformReactJsx = require("babel-plugin-transform-react-jsx");
var _babelPluginTransformReactJsx2 = _interopRequireDefault(_babelPluginTr... |
example/components/PureComponent.js | cashsun/rehearse | import React from 'react';
export default ()=> {
return (<div>I'm a pure component.</div>)
} |
ajax/libs/material-ui/4.9.7/es/internal/svg-icons/ArrowDropDown.min.js | cdnjs/cdnjs | import*as React from"react";import createSvgIcon from"./createSvgIcon";export default createSvgIcon(React.createElement("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"); |
fields/types/textarea/TextareaField.js | matthieugayon/keystone | import Field from '../Field';
import React from 'react';
module.exports = Field.create({
displayName: 'TextareaField',
renderField () {
var styles = {
height: this.props.height,
};
return <textarea name={this.props.path} styles={styles} ref="focusTarget" value={this.props.value} onChange={this.valueChanged}... |
ajax/libs/mobx/2.4.0-fix427/mobx.min.js | tonytomov/cdnjs | /** MobX - (c) Michel Weststrate 2015, 2016 - MIT Licensed */
"use strict";function se(n,a,u){var o,e,r;"string"==typeof n?(o=n,e=a,r=u):"function"==typeof n&&(o=n.name||"Autorun@"+i(),e=n,r=a),p(e,"autorun methods cannot have modifiers"),t("function"==typeof e,"autorun expects a function"),t(0===e.length,"autorun expe... |
demo/src/mockups/shopping/components/shopping-checkout-payment-view-component.js | tuantle/hypertoxin | 'use strict'; // eslint-disable-line
import { Ht } from 'hypertoxin';
import React from 'react';
import ReactNative from 'react-native'; // eslint-disable-line
import PropTypes from 'prop-types';
import DefaultTheme from '../../../themes/default-theme';
const {
BodyScreen,
HeaderScreen,
RowLayout,
... |
src/pages/404.js | mattbanks/mattbanks | import React from 'react';
import { Link } from 'gatsby';
import Layout from '../components/Layout';
const IndexPage = () => (
<Layout fullMenu>
<article id="main">
<header>
<h2>404 - Not Found</h2>
<p>Oops! Something went wrong!</p>
<Link to="/">Go back to the homepage</Link>
... |
core/src/plugins/gui.ajax/res/js/ui/HOCs/animations/make-motion.js | huzergackl/pydio-core | /*
* Copyright 2007-2017 Charles du Jeu - Abstrium SAS <team (at) pyd.io>
* This file is part of Pydio.
*
* Pydio 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, either version 3 of the License, o... |
ajax/libs/aui/5.4.1/aui/js/aui-all.js | ruo91/cdnjs | !function(a,b){function c(a){var b=ob[a]={};return $.each(a.split(bb),function(a,c){b[c]=!0}),b}function d(a,c,d){if(d===b&&1===a.nodeType){var e="data-"+c.replace(qb,"-$1").toLowerCase();if(d=a.getAttribute(e),"string"==typeof d){try{d="true"===d?!0:"false"===d?!1:"null"===d?null:+d+""===d?+d:pb.test(d)?$.parseJSON(d)... |
src/index.js | Sharlaan/selfchat | import { deepOrange, lightBlue } from '@material-ui/core/colors';
import { createMuiTheme, MuiThemeProvider } from '@material-ui/core/styles';
import React from 'react';
import { render } from 'react-dom';
import App from './App';
import './index.css';
// Default theme values: https://material-ui.com/customization/def... |
public/vendors/select2/docs/vendor/js/jquery.min.js | ashi9422/Chumps | /*! jQuery v1.11.2 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind... |
6.0.0-rc.1/examples/react-widgets/dist/bundle.js | erikras/redux-form-docs | !function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}([function(e,t,n){n(322),e.exports=n(321)},function(e,t,n){var r=n(5),o=n(34),i=n(18),a=n(20),u=n(39),s="prototype",... |
src/components/Ticker.js | tibotiber/rd3 | import React from 'react'
import PropTypes from 'prop-types'
import styled from 'styled-components'
import _ from 'lodash'
import {transparentize} from 'polished'
const {number, object, string, shape, func} = PropTypes
const Toggle = styled.span`
position: absolute;
top: 0;
right: 0;
margin: 5px;
cursor: po... |
src/svg-icons/communication/business.js | pancho111203/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let CommunicationBusiness = (props) => (
<SvgIcon {...props}>
<path d="M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2... |
src/client/components/dialogs/DeleteDialog.js | vanpaz/vbi | import React from 'react'
import Dialog from 'material-ui/lib/dialog'
import FlatButton from 'material-ui/lib/flat-button'
import bindMethods from '../../utils/bindMethods'
/**
* Usage:
*
* <DeleteDialog ref="deleteDialog" />
*
* this.refs.deleteDialog.show({
* title: 'Delete scenario',
* ... |
node_modules/react-icons/fa/hand-peace-o.js | bengimbel/Solstice-React-Contacts-Project |
import React from 'react'
import Icon from 'react-icon-base'
const FaHandPeaceO = props => (
<Icon viewBox="0 0 40 40" {...props}>
<g><path d="m31.8 14.4q1.3 0 2.3 0.6 3.2 1.4 3.2 5v3.9q0 2.2-0.5 4.2l-1.9 7.6q-0.5 1.9-2 3.1t-3.6 1.2h-14.9q-2.3 0-4-1.7t-1.7-4v-9l-5.3-14q-0.4-1-0.4-2 0-2.4 1.7-4.1t4-1.6q1.8... |
js/jqwidgets/demos/react/app/chart/chartwithgrid/app.js | luissancheza/sice | import React from 'react';
import ReactDOM from 'react-dom';
import JqxChart from '../../../jqwidgets-react/react_jqxchart.js';
import JqxGrid from '../../../jqwidgets-react/react_jqxgrid.js';
class App extends React.Component {
componentDidMount() {
this.refs.myGrid.on('filter', () => {
let row... |
actor-apps/app-web/src/app/components/activity/GroupProfileMembers.react.js | liruqi/actor-platform-v0.9 | /*
* Copyright (C) 2015 Actor LLC. <https://actor.im>
*/
import _ from 'lodash';
import React from 'react';
import ReactMixin from 'react-mixin';
import addons from 'react/addons';
import GroupMember from 'components/activity/GroupMember.react';
const {addons: { PureRenderMixin }} = addons;
@ReactMixin.decorate(... |
files/metadata/0.9.206/metadata.min.js | vvo/jsdelivr | /*!
© http://www.oknosoft.ru 2014-2015
@license content of this file is covered by Oknosoft Commercial license. Usage without proper license is prohibited. To obtain it contact info@oknosoft.ru
@author Evgeniy Malyarov
*/
!function(e,t){"function"==typeof define&&define.amd?define([],t):"object"==typeof export... |
packages/website/builder/pages/docs/nav.js | christianalfoni/cerebral | import React from 'react'
function Navigation(props) {
// To understand how navigation is composed, start from the bottom
function Headings({ toc, path }) {
if (!toc.length) {
return null
}
return (
<ul>
{toc.map(function(item, index) {
const href = `${path}#${item.id}`
... |
ajax/libs/asynquence-contrib/0.1.10-i/contrib.js | dlueth/cdnjs | /*! asynquence-contrib
v0.1.10-i (c) Kyle Simpson
MIT License: http://getify.mit-license.org
*/
!function(n,t){"undefined"!=typeof module&&module.exports?module.exports=t(require(n)):"function"==typeof define&&define.amd?define([n],t):t(n)}(this.ASQ||"asynquence",function(n){"use strict";var t=Array.prototype.s... |
ajax/libs/yui/3.17.1/datatable-core/datatable-core-debug.js | askehansen/cdnjs | /*
YUI 3.17.1 (build 0eb5a52)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('datatable-core', function (Y, NAME) {
/**
The core implementation of the `DataTable` and `DataTable.Base` Widgets.
@module datatable
@submodule datatable-core
@sinc... |
pnpm-cached/.pnpm-store/1/registry.npmjs.org/react-bootstrap/0.31.0/es/FormGroup.js | JamieMason/npm-cache-benchmark | 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/components/nginx/original/NginxOriginal.js | fpoumian/react-devicon | import React from 'react'
import PropTypes from 'prop-types'
import SVGDeviconInline from '../../_base/SVGDeviconInline'
import iconSVG from './NginxOriginal.svg'
/** NginxOriginal */
function NginxOriginal({ width, height, className }) {
return (
<SVGDeviconInline
className={'NginxOriginal' + ' ' + class... |
src/client.js | Afrostream/react-redux-universal-hot-example | import React from 'react';
import Router from 'react-router';
import BrowserHistory from 'react-router/lib/BrowserHistory';
import routes from './views/routes';
import createRedux from './redux/create';
import { Provider } from 'redux/react';
import ApiClient from './ApiClient';
const history = new BrowserHistory();
co... |
ajax/libs/yui/3.9.1/scrollview-base/scrollview-base-coverage.js | yogeshsaroya/cdnjs | if (typeof _yuitest_coverage == "undefined"){
_yuitest_coverage = {};
_yuitest_coverline = function(src, line){
var coverage = _yuitest_coverage[src];
if (!coverage.lines[line]){
coverage.calledLines++;
}
coverage.lines[line]++;
};
_yuitest_coverfunc = functio... |
src/icons/FilterBAndWIcon.js | kiloe/ui | import React from 'react';
import Icon from '../Icon';
export default class FilterBAndWIcon extends Icon {
getSVG(){return <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path d="M38 6H10c-2.21 0-4 1.79-4 4v28c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4V10c0-2.21-1.79-4-4-4zm0 32L24 22... |
project/Chat/node_modules/babel-core/lib/transformation/transformers/validation/react.js | xzzw9987/Memos | "use strict";
exports.__esModule = true;
// istanbul ignore next
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj["default"] = obj;... |
src/components/Row.js | mikkom/hedron | // @flow
/* eslint-disable no-unused-vars */
import React from 'react';
import styled from 'styled-components';
import Column from './Column';
import { divvy, passOn } from '../utils';
type Props = {
children?: Array<React.Element<>>,
className?: string,
debug?: boolean,
tagName?: string,
// grid props
div... |
docs/articles/extension-icons/Opera extensions icon template - Photoshop tutorial_files/jquery-1.js | 1974kpkpkp/operaextensions.js | /*!
* jQuery JavaScript Library v1.4.2
* http://jquery.com/
*
* Copyright 2010, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2010, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
... |
blocks/teleport.js | UXtemple/panels | import normaliseUri from '../utils/normalise-uri/index.js'
import PropTypes from 'prop-types'
import React from 'react'
import toCSS from 'style-to-css'
import uniqueId from 'mini-unique-id'
export default class Teleport extends React.Component {
constructor(props, context) {
super(props, context)
this.class... |
src/components/settings/SettingsView.js | katima-g33k/blu-react-desktop | import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { browserHistory } from 'react-router';
import {
Button,
ButtonToolbar,
Col,
Form,
Panel,
Row,
} from 'react-bootstrap';
import I18n from '../../lib/i18n/index';
import { Input } from '../general/formInputs/index';
import ... |
ajax/libs/dexie/2.0.0-beta.1/dexie.js | seogi1004/cdnjs | (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.Dexie = factory());
}(this, (function () { 'use strict';
/*
* Dexie.js - a minimalistic wrapper for IndexedDB
* ===... |
docs/app/Examples/modules/Accordion/Types/index.js | aabustamante/Semantic-UI-React | import React from 'react'
import ComponentExample from 'docs/app/Components/ComponentDoc/ComponentExample'
import ExampleSection from 'docs/app/Components/ComponentDoc/ExampleSection'
import { Message } from 'semantic-ui-react'
const AccordionTypesExamples = () => (
<ExampleSection title='Types'>
<ComponentExam... |
src/Gandalf/components/controller.js | mrpotatoes/react-gandalf | /* eslint-disable no-console, react/sort-comp, no-unused-vars */
// @TODO: Add animations: https://github.com/szchenghuang/react-transitions
/**
* The Gandalf step controller.
*
* Assumes each step handles it's own state does not make any judgements on that
* therefore keeping this Gandalf controller flexible. Uses... |
yycomponent/date-picker/DatePicker.js | 77ircloud/yycomponent | import React from 'react';
import { DatePicker as _DatePicker, } from 'antd';
import moment from 'moment';
moment.locale('zh-cn');//中文国际化
const getPopupContainer=(target)=>{//弹框挂载点
if(target&&target.closest&&target.closest('.body')){
return target.closest('.body');
}
return document.body;
};
class DatePicke... |
node_modules/react/lib/ReactMarkupChecksum.js | lutherism/state | /**
* Copyright 2013-2015, 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.
*
* @providesModule ... |
ajax/libs/react-native-web/0.0.0-dfb716c98/exports/TouchableWithoutFeedback/index.min.js | cdnjs/cdnjs | "use strict";function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=argumen... |
app/components/CloseButton.js | Byte-Code/lm-digital-store-private-test | import React from 'react';
import PropTypes from 'prop-types';
import BlockIcon from 'material-ui/svg-icons/navigation/close';
const style = (fill, top, right, backgroundColor) => ({
fill,
backgroundColor,
top,
right,
width: 80,
height: 80,
position: 'absolute',
cursor: 'pointer'
});
const CloseButto... |
src/Bounds.js | epotapov/react-fix | import React, { Component } from 'react';
import PropTypes from 'prop-types';
import stylePropType from 'react-style-proptype';
import withOffsets from './OffsetProvider';
class Bounds extends Component {
render() {
const {
children,
initRef,
subscribe,
unsubscribe,
className,
... |
src/components/Alexandria/components/PlayList.js | dloa/react-alexandria-ux | import React from 'react';
import styles from './css/playlist.module.css'
var prettyTime = (t) => {
let h = Math.floor(t/3600)%24,
m = Math.floor(t/60)%60,
s = t%60;
return h?h+':':'' + m + ':' + s
}
var Price = ({price}) => (
<span className={styles.price}>$<span className={styles.price... |
ajax/libs/yui/3.10.2/event-focus/event-focus-coverage.js | ankitjamuar/cdnjs | if (typeof __coverage__ === 'undefined') { __coverage__ = {}; }
if (!__coverage__['build/event-focus/event-focus.js']) {
__coverage__['build/event-focus/event-focus.js'] = {"path":"build/event-focus/event-focus.js","s":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"... |
src/svg-icons/notification/no-encryption.js | owencm/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let NotificationNoEncryption = (props) => (
<SvgIcon {...props}>
<path d="M21 21.78L4.22 5 3 6.22l2.04 2.04C4.42 8.6 4 9.25 4 10v10c0 1.1.9 2 2 2h12c.23 0 .45-.05.66-.12L19.78 23 21 21.78zM8.9 6c0-1.71 1.39-3.1 3.1... |
src/scripts/components/Footer.js | LWanjiru/ki-news | import React from 'react';
const Footer = () => {
function getYear() {
const dateNow = new Date();
const thisYear = dateNow.getFullYear();
return thisYear;
}
return (
<div className="col text-white">
<p>Made with ❤, React, Webpack & Bootstrap</p>
<p>Know It All(KI-ALL) News</p... |
geonode/contrib/monitoring/frontend/src/components/organisms/most-active-ips/index.js | timlinux/geonode | import React from 'react';
import HoverPaper from '../../atoms/hover-paper';
import Map from '../../atoms/map';
import styles from './styles';
class MostActiveIPs extends React.Component {
render() {
return (
<HoverPaper style={styles.content}>
<h3>Most Active IPs</h3>
<div style={styles.m... |
src/frontend/components/forms/GCPasswordField.js | al3x/ground-control | import React from 'react';
import {TextField} from 'material-ui';
import {BernieText} from '../styles/bernie-css';
import GCFormField from './GCFormField';
export default class GCPasswordField extends GCFormField {
render() {
return <TextField
{...this.props}
floatingLabelText={this.floatingLabelText... |
docs/app/Examples/views/Comment/States/index.js | shengnian/shengnian-ui-react | import React from 'react'
import ComponentExample from 'docs/app/Components/ComponentDoc/ComponentExample'
import ExampleSection from 'docs/app/Components/ComponentDoc/ExampleSection'
const CommentTypes = () => (
<ExampleSection title='States'>
<ComponentExample
title='Collapsed'
description='Commen... |
dubbo-admin/src/main/webapp/js/jquery-1.4.2.min.js | yiyezhangmu/dubbox | /*!
* jQuery JavaScript Library v1.4.2
* http://jquery.com/
*
* Copyright 2010, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2010, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
... |
src/js/components/icons/base/Gallery.js | odedre/grommet-final | /**
* @description Gallery 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.
* @pr... |
node_modules/react-icons/md/pause-circle-outline.js | bengimbel/Solstice-React-Contacts-Project |
import React from 'react'
import Icon from 'react-icon-base'
const MdPauseCircleOutline = props => (
<Icon viewBox="0 0 40 40" {...props}>
<g><path d="m21.6 26.6v-13.2h3.4v13.2h-3.4z m-1.6 6.8q5.5 0 9.4-4t4-9.4-4-9.4-9.4-4-9.4 4-4 9.4 4 9.4 9.4 4z m0-30q6.9 0 11.8 4.8t4.8 11.8-4.8 11.8-11.8 4.8-11.8-4.8-4... |
examples/js/sort/demo.js | echaouchna/react-bootstrap-tab | /* eslint max-len: 0 */
import React from 'react';
import SortTable from './sort-table';
import MultiSortTable from './multi-sort-table';
import DefaultSortTable from './default-sort-table';
import ExternalSort from './manage-sort-external-table';
import CustomSortTable from './custom-sort-table';
import CustomSortWith... |
client/modules/User/pages/User.js | lordknight1904/bigvnadmin | import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import UserNavBar from '../components/UserNavBar/UserNavBar';
import UserList from '../components/UserList/UserList';
import { getId } from '../../Login/LoginReducer';
import { Modal, Button, Form, FormG... |
src/ThirdPage.js | MillerDix/ReactNativeNavigator | import React, { Component } from 'react';
import {
StyleSheet,
View,
Alert,
Text
} from 'react-native';
import FirstPage from './FirstPage';
class ThirdPage extends Component {
constructor(props) {
super(props);
this.state = {
UserName: null,
UserAge: null
... |
example/index.ios.js | brendan-rius/react-native-emoji-keyboard | /**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/
import React from 'react';
import {
AppRegistry,
StyleSheet,
Text,
View
} from 'react-native';
import EmojiKeyboard from 'react-native-emoji-keyboard'
export default class example extends React.PureComponent {
constructor(pro... |
test/PopoverSpec.js | asiniy/react-bootstrap | import React from 'react';
import ReactTestUtils from 'react/lib/ReactTestUtils';
import Popover from '../src/Popover';
describe('Popover', function () {
it('Should output a popover title and content', function () {
let instance = ReactTestUtils.renderIntoDocument(
<Popover title="Popover title">
<... |
proyecto3/HTML/js/prettyphoto/js/jquery-1.4.4.min.js | zerophp/zgz2013octM | /*!
* jQuery JavaScript Library v1.4.4
* http://jquery.com/
*
* Copyright 2010, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2010, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
... |
src/useScroll.js | taion/react-router-scroll | import React from 'react';
import ScrollBehavior from 'scroll-behavior';
import ScrollBehaviorContext from './ScrollBehaviorContext';
function defaultCreateScrollBehavior(config) {
return new ScrollBehavior(config);
}
export default function useScroll(shouldUpdateScrollOrConfig) {
let shouldUpdateScroll;
let c... |
src/index.js | raymondji/focus21-sampleapp | /*eslint-disable import/default*/
import React from 'react';
import {render} from 'react-dom';
import { Provider } from 'react-redux';
import { Router, browserHistory } from 'react-router';
import routes from './routes';
import configureStore from './store/configureStore';
import './styles/styles.scss'; //Yep, that's ... |
assets/fe207beb/jquery.min.js | NursultanMuss/ad.myblog.tk | /*! jQuery v1.11.3 | (c) 2005, 2015 jQuery Foundation, Inc. | jquery.org/license */
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind... |
src/parser/druid/feral/CHANGELOG.js | ronaldpereira/WoWAnalyzer | import React from 'react';
import { Anatta336, Abelito75 } from 'CONTRIBUTORS';
import SPELLS from 'common/SPELLS';
import SpellLink from 'common/SpellLink';
import { change, date } from 'common/changelog';
export default [
change(date(2020, 3,27), <>Improved thresholds of wasted energy to be precentage based.</>, ... |
src/Message/transition.js | yurizhang/ishow | import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import PropTypes from 'prop-types';
import requestAnimationFrame from 'raf';
import '../Common/css/Base.css';
export default class Transition extends Component {
constructor(props) {
super(props);
const { children } = props;
thi... |
admin-assets/dataTables/jquery.js | CamDevlopers/aeu | /*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind... |
public_html/liferay_files/jquery.js | dacopan/portal-uce | /*! jQuery v1.11.0 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind... |
ajax/libs/vis/1.1.0/vis.js | emmansun/cdnjs | /**
* vis.js
* https://github.com/almende/vis
*
* A dynamic, browser-based visualization library.
*
* @version 1.1.0
* @date 2014-06-06
*
* @license
* Copyright (C) 2011-2014 Almende B.V, http://almende.com
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file e... |
ajax/libs/angular.js/0.9.14/angular-scenario.min.js | arasmussen/cdnjs | /*!
* jQuery JavaScript Library v1.4.2
* http://jquery.com/
*
* Copyright 2010, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2010, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
... |
admin/client/components/List/ListFiltersAdd.js | Tangcuyu/keystone | import React from 'react';
import ReactDOM from 'react-dom';
import Transition from 'react-addons-css-transition-group';
import classnames from 'classnames';
import CurrentListStore from '../../stores/CurrentListStore';
import ListFiltersAddForm from './ListFiltersAddForm';
import Popout from '../Popout';
import Popout... |
test/Tests.js | DanGrund/Daily-Bullet | import React from 'react';
import {expect, assert} from 'chai';
import { shallow, mount, render } from 'enzyme';
import sinon from 'sinon';
import jsdom from 'jsdom-global/register';
import Main from '../lib/Components/Main';
import TaskItem from '../lib/Components/TaskItem';
import DailyList from '../lib/Components/D... |
src/FixedDataTableRoot.js | MalucoMarinero/fixed-data-table-backup | /**
* Copyright (c) 2015, 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.
*
* @providesModule F... |
ajax/libs/omniscient/3.0.0/omniscient.min.js | keicheng/cdnjs | /**
* Omniscient.js v2.1.0
* Authors: @torgeir,@mikaelbr
***************************************/
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t... |
src/main/resources/static/bower_components/jqwidgets/demos/react/app/chart/defaultfunctionality/app.js | dhawal9035/WebPLP | import React from 'react';
import ReactDOM from 'react-dom';
import JqxChart from '../../../jqwidgets-react/react_jqxchart.js';
class App extends React.Component {
render () {
let source =
{
datatype: "csv",
datafields: [
{ name: 'Date' },
{ name: 'S&P 500' },
... |
src/moodycons.js | dhunninghake/react-moodycons | import React from 'react';
import icons from './icons';
const Moodycon = ({
name = 'grinning',
width = 50,
height = 50,
fill = 'currentColor'
}) => (
<svg
role='img'
width={width}
height={height}
fill={fill}
viewBox='0 0 25 25'
aria-labelledby={name}
xmlns='http://www.w3.org/2000/... |
actor-apps/app-web/src/app/components/modals/create-group/ContactItem.react.js | jiguoling/actor-platform | import React from 'react';
import AvatarItem from 'components/common/AvatarItem.react';
class ContactItem extends React.Component {
static propTypes = {
contact: React.PropTypes.object,
onToggle: React.PropTypes.func
}
constructor(props) {
super(props);
this.onToggle = this.onToggle.bind(this)... |
packages/bundle/src/adaptiveCards/Attachment/AdaptiveCardAttachment.js | billba/botchat | import PropTypes from 'prop-types';
import React from 'react';
import AdaptiveCardContent from './AdaptiveCardContent';
const AdaptiveCardAttachment = ({ attachment: { content }, disabled }) => (
<AdaptiveCardContent content={content} disabled={disabled} />
);
export default AdaptiveCardAttachment;
AdaptiveCardAt... |
fields/types/file/FileColumn.js | michaelerobertsjr/keystone | import React from 'react';
import ItemsTableCell from '../../components/ItemsTableCell';
import ItemsTableValue from '../../components/ItemsTableValue';
var LocalFileColumn = React.createClass({
renderValue: function () {
var value = this.props.data.fields[this.props.col.path];
if (!value || !value.filename) ret... |
docs/src/pages/guides/interoperability/StyledComponentsPortal.js | kybarg/material-ui | import React from 'react';
import styled from 'styled-components';
import Button from '@material-ui/core/Button';
import Menu from '@material-ui/core/Menu';
import MenuItem from '@material-ui/core/MenuItem';
const StyledMenu = styled(({ className, ...props }) => (
<Menu {...props} classes={{ paper: className }} />
)... |
react-flux-mui/js/material-ui/src/svg-icons/image/photo-album.js | pbogdan/react-flux-mui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ImagePhotoAlbum = (props) => (
<SvgIcon {...props}>
<path d="M18 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM6 4h5v8l-2.5-1.5L6 12V4zm0 15l3-3.86 2.14 2.58 3-3.86L18 19H6z"/>
</Sv... |
docs/src/app/components/pages/components/TimePicker/Page.js | pancho111203/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 timePickerReadmeText from './README';
import TimePickerExampleSimple from... |
antd-dva/dva-restart/src/routes/EntryPage.js | JianmingXia/StudyTest | import React from 'react';
import { List } from 'antd';
const links = [
// {
// name: "Index",
// link: "/0",
// desc: "demo"
// },
// {
// name: "Products",
// link: "/1",
// desc: "产品描述。。。"
// },
// {
// name: "TodoList",
// link: "... |
src/svg-icons/action/euro-symbol.js | manchesergit/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionEuroSymbol = (props) => (
<SvgIcon {...props}>
<path d="M15 18.5c-2.51 0-4.68-1.42-5.76-3.5H15v-2H8.58c-.05-.33-.08-.66-.08-1s.03-.67.08-1H15V9H9.24C10.32 6.92 12.5 5.5 15 5.5c1.61 0 3.09.59 4.23 1.57L21 ... |
test/ListGroupItemSpec.js | johanneshilden/react-bootstrap | import React from 'react';
import ReactTestUtils from 'react/lib/ReactTestUtils';
import ListGroupItem from '../src/ListGroupItem';
describe('ListGroupItem', function () {
it('Should output a "span" with the class "list-group-item"', function () {
let instance = ReactTestUtils.renderIntoDocument(
<ListGro... |
app/javascript/mastodon/features/standalone/compose/index.js | Nyoho/mastodon | import React from 'react';
import ComposeFormContainer from '../../compose/containers/compose_form_container';
import NotificationsContainer from '../../ui/containers/notifications_container';
import LoadingBarContainer from '../../ui/containers/loading_bar_container';
import ModalContainer from '../../ui/containers/mo... |
webui/components/missions/SubNavigationLayout.js | stiftungswo/izivi_relaunch | import React from 'react';
import Link from 'next/link';
import { Container, Menu, Segment } from 'semantic-ui-react';
import App from '../AppContainer';
const getPath = subPage =>
(subPage ? `/missions${subPage}` : '/missions');
const Tab = ({ subPage, url: { pathname }, children }) => (
<Link href={getPath(subP... |
ajax/libs/rxjs-dom/7.0.2/rx.dom.compat.js | holtkamp/cdnjs | // Copyright (c) Microsoft, Inc. All rights reserved. See License.txt in the project root for license information.
;(function (factory) {
var objectTypes = {
'function': true,
'object': true
};
function checkGlobal(value) {
return (value && value.Object === Object) ? value : null;
}
var freeExp... |
tools/public-components.js | lo1tuma/react-bootstrap | import React from 'react';
import index from '../src/index';
let components = [];
Object.keys(index).forEach(function (item) {
if (index[item] instanceof React.Component.constructor) {
components.push(item);
}
});
export default components;
|
mine-data/src/logout/LogoutLink.js | BerlingskeMedia/nyhedsbreveprofil | import React from 'react';
import { connect } from 'react-redux';
import { logOut } from './logOut.actions';
import './LogoutLink.scss';
const StaticLogoutLink = ({children, onClick}) => (
<a className="LogoutLink" onClick={onClick}>{children}</a>
);
const mapDispatchToProps = (dispatch) => ({
onClick: () => dis... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.