path stringlengths 5 195 | repo_name stringlengths 5 79 | content stringlengths 25 1.01M |
|---|---|---|
src/components/FlightTracker/DatePicker.js | elstgav/stair-climber | import React from 'react'
import moment from 'moment'
import { Icon } from 'src/components'
const DatePicker = ({ selected, onChange }) => {
function onPrevDay() {
const newDate = selected.clone().subtract(1, 'days')
onChange(newDate)
}
function onNextDay() {
const newDate = selected.clone().add(1,... |
actor-apps/app-web/src/app/components/sidebar/ContactsSection.react.js | supertanglang/actor-platform | import _ from 'lodash';
import React from 'react';
import { Styles, RaisedButton } from 'material-ui';
import ActorTheme from 'constants/ActorTheme';
import ContactStore from 'stores/ContactStore';
import ContactActionCreators from 'actions/ContactActionCreators';
import AddContactStore from 'stores/AddContactStore'... |
test/integration/image-component/default/pages/missing-src.js | JeromeFitz/next.js | import React from 'react'
import Image from 'next/image'
const Page = () => {
return (
<div>
<Image width={200}></Image>
</div>
)
}
export default Page
|
client/modules/questions/components/questionsSelect.js | johngonzalez/abcdapp | import React from 'react';
import {Pagination} from 'react-bootstrap';
const QuestionsSelect = ({currentQuestion, questionsCount, select, children}) => (
<div className="text-center">
<Pagination
bsSize="big"
activePage={currentQuestion.questionSeq + 1}
items={questionsCount}
on... |
example/examples/StaticMap.js | phantomlds/react-native-maps | import React from 'react';
import {
StyleSheet,
View,
Text,
Dimensions,
ScrollView,
} from 'react-native';
import MapView from 'react-native-maps';
const { width, height } = Dimensions.get('window');
const ASPECT_RATIO = width / height;
const LATITUDE = 37.78825;
const LONGITUDE = -122.4324;
const LATITUDE_... |
src/components/Dashboard/DashBoardIndex.js | RegOpz/RegOpzWebApp | import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import RightPane from './RightPane';
export default class DashboardIndex extends Component {
render() {
return (
<div>
<RightPane />
</div>
)
}
componentDidMount() {
d... |
src/views/notifications/alerts/Alerts.js | mrholek/CoreUI-React | import React from 'react'
import {
CAlert,
CAlertHeading,
CAlertLink,
CCard,
CCardBody,
CCardHeader,
CCol,
CRow,
} from '@coreui/react'
import { DocsCallout, DocsExample } from 'src/components'
const Alerts = () => {
return (
<CRow>
<CCol xs={12}>
<DocsCallout name="Alert" href="com... |
pages/api/input.js | cherniavskii/material-ui | import React from 'react';
import withRoot from 'docs/src/modules/components/withRoot';
import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs';
import markdown from './input.md';
function Page() {
return <MarkdownDocs markdown={markdown} />;
}
export default withRoot(Page);
|
test/regressions/tests/List/IconListItem.js | cherniavskii/material-ui | // @flow
import React from 'react';
import Icon from 'material-ui/Icon';
import { ListItem, ListItemText, ListItemIcon } from 'material-ui/List';
export default function IconListItem() {
return (
<div style={{ backgroundColor: '#fff', width: 300 }}>
<ListItem>
<ListItemIcon>
<Icon>phone<... |
react-src/catalog/components/voyages/layouts/VoyageImageMinimalist.js | gabzon/experiensa | import React from 'react';
export default class CatalogVoyageMinimalist extends React.Component {
constructor(){
super()
}
render() {
let voyageImage
let imgSrc
if(this.props.voyage.cover_image){
let imageFeatureImage = this.props.voyage.cover_image.feature_image... |
fields/types/relationship/RelationshipColumn.js | frontyard/keystone | import React from 'react';
import ItemsTableCell from '../../components/ItemsTableCell';
import ItemsTableValue from '../../components/ItemsTableValue';
const moreIndicatorStyle = {
color: '#bbb',
fontSize: '.8rem',
fontWeight: 500,
marginLeft: 8,
};
var RelationshipColumn = React.createClass({
displayName: 'Rel... |
src/svg-icons/content/text-format.js | igorbt/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ContentTextFormat = (props) => (
<SvgIcon {...props}>
<path d="M5 17v2h14v-2H5zm4.5-4.2h5l.9 2.2h2.1L12.75 4h-1.5L6.5 15h2.1l.9-2.2zM12 5.98L13.87 11h-3.74L12 5.98z"/>
</SvgIcon>
);
ContentTextFormat = pure(C... |
src/components/Context.js | lolatravel/realm-react-redux | import React from 'react';
export const ReactReduxContext = React.createContext('realm');
export default ReactReduxContext;
|
client/src/javascript/components/icons/Limits.js | jfurrow/flood | import React from 'react';
import BaseIcon from './BaseIcon';
export default class Limits extends BaseIcon {
render() {
return (
<svg className={`icon icon--limits ${this.props.className}`} viewBox={this.getViewBox()}>
<path
className="limits__bars--bottom"
d="M24.4,48.5c0,3.3,... |
pnpm-cached/.pnpm-store/1/registry.npmjs.org/react-bootstrap/0.31.0/es/PageHeader.js | Akkuma/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 ... |
app/javascript/mastodon/components/autosuggest_emoji.js | pixiv/mastodon | import React from 'react';
import PropTypes from 'prop-types';
import unicodeMapping from '../features/emoji/emoji_unicode_mapping_light';
const assetHost = process.env.CDN_HOST || '';
export default class AutosuggestEmoji extends React.PureComponent {
static propTypes = {
emoji: PropTypes.object.isRequired,
... |
src/svg-icons/av/volume-mute.js | rscnt/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let AvVolumeMute = (props) => (
<SvgIcon {...props}>
<path d="M7 9v6h4l5 5V4l-5 5H7z"/>
</SvgIcon>
);
AvVolumeMute = pure(AvVolumeMute);
AvVolumeMute.displayName = 'AvVolumeMute';
export default AvVolumeMute;
|
RN/ImageDemo/NewComponent/Find.js | puyanLiu/LPYFramework | import React, { Component } from 'react';
import {
StyleSheet,
Text,
View,
} from 'react-native';
class Find extends Component {
render() {
return (
<View></View>
);
}
}
module.exports = Find; |
app/components/AuthForm/index.js | prudhvisays/newsb | import React from 'react';
import { changeForm } from '../../containers/AuthPage/actions';
import { connect } from 'react-redux';
import ErrorStyle from './ErrorStyle';
class AuthForm extends React.Component { // eslint-disable-line react/prefer-stateless-function
constructor(props) {
super(props);
this.chan... |
assets/jqwidgets/demos/react/app/complexinput/righttoleftlayout/app.js | juannelisalde/holter | import React from 'react';
import ReactDOM from 'react-dom';
import JqxComplexInput from '../../../jqwidgets-react/react_jqxcomplexinput.js';
class App extends React.Component {
render() {
return (
<JqxComplexInput ref='myComplexInput'
width={250} height={25} value={'15 + 7.2i'... |
react-dixie-memory-considerate-loading/src/components/Header/index.js | GoogleChromeLabs/adaptive-loading | /*
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
src/Game/UI/Updating.js | digijin/space-station-sim | //@flow
import React from 'react';
export default class Updating extends React.Component {
componentDidMount() {
setInterval(() => {
this.forceUpdate();
}, 1000)
}
}
|
fields/types/html/editor/info-box/info-box-editing-block.js | nickhsine/keystone | 'use strict';
import { convertToRaw } from 'draft-js';
import DraftConverter from '../draft-converter';
import EntityEditingBlockMixin from '../mixins/entity-editing-block-mixin';
import React from 'react';
class InfoBoxEditingBlock extends EntityEditingBlockMixin(React.Component) {
constructor (props) {
super(prop... |
src/components/ContactForm.js | benruehl/gatsby-kruemelkiste | import React from 'react'
import ReactDOM from 'react-dom';
import styled from 'styled-components'
import Button from '../components/Button'
import strings from '../../data/strings'
const InputGroup = styled.div`
display: flex;
flex-direction: row;
align-items: center;
width: 100%;
margin-bottom: 1.5em;
... |
src/index.js | D-TUCKER/react-fartscroll | import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import * as serviceWorker from './serviceWorker';
ReactDOM.render(<App />, document.getElementById('root'));
// If you want your app to work offline and load faster, you can change
// unregister() to register()... |
app/javascript/mastodon/features/account_timeline/components/moved_note.js | increments/mastodon | import React from 'react';
import PropTypes from 'prop-types';
import ImmutablePropTypes from 'react-immutable-proptypes';
import { FormattedMessage } from 'react-intl';
import ImmutablePureComponent from 'react-immutable-pure-component';
import AvatarOverlay from '../../../components/avatar_overlay';
import DisplayNam... |
client/extensions/woocommerce/app/store-stats/referrers/index.js | Automattic/woocommerce-connect-client | /** @format */
/**
* External dependencies
*/
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import { find } from 'lodash';
import { localize } from 'i18n-calypso';
import page from 'page';
/**
* Internal dependencies
*/
import QuerySiteStats ... |
examples/js/custom/insert-modal/default-custom-insert-modal-footer.js | powerhome/react-bootstrap-table | /* eslint max-len: 0 */
/* eslint no-unused-vars: 0 */
/* eslint no-alert: 0 */
/* eslint no-console: 0 */
import React from 'react';
import { BootstrapTable, TableHeaderColumn, InsertModalFooter } from 'react-bootstrap-table';
const products = [];
function addProducts(quantity) {
const startId = products.length;
... |
src/client/admin/routes.js | Restuta/rcn.io | import React from 'react'
import { Route } from 'react-router'
import AdminRoot from './AdminRoot.js'
import CreateEventId from 'admin/events/CreateEventId.jsx'
import UploadFlyer from 'admin/events/UploadFlyer.jsx'
//alternative way is to define route root as /widgets and remove root in get-routes.js
const routes =... |
src/repository/screens/repository.screen.js | Antoine38660/git-point | /* eslint-disable no-shadow */
import React, { Component } from 'react';
import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';
import { StyleSheet, RefreshControl, Share } from 'react-native';
import { ListItem } from 'react-native-elements';
import ActionSheet from 'react-native-actionshee... |
src/form/SelectField.js | rodrigocipriani/br-react-utils | import React, { Component } from 'react';
import PropTypes from 'prop-types';
import SelectField from 'material-ui/SelectField';
import MenuItem from 'material-ui/MenuItem';
class SelectFieldInput extends Component {
static propTypes = {
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
labe... |
client/src/lists/fields/helpers.js | Mailtrain-org/mailtrain | 'use strict';
import React from 'react';
export function getFieldTypes(t) {
const fieldTypes = {
text: {
label: t('text')
},
website: {
label: t('website')
},
longtext: {
label: t('multilineText')
},
gpg: {
la... |
app/components/pipeline/schedules/Form.js | buildkite/frontend | import React from 'react';
import PropTypes from 'prop-types';
import Relay from 'react-relay/classic';
import FormCheckbox from 'app/components/shared/FormCheckbox';
import FormTextField from 'app/components/shared/FormTextField';
import FormTextarea from 'app/components/shared/FormTextarea';
import ValidationErrors ... |
gatsby-strapi-tutorial/cms/plugins/settings-manager/admin/src/components/ContentHeader/index.js | strapi/strapi-examples | /**
*
* ContentHeader
*
*/
import React from 'react';
import PropTypes from 'prop-types';
import { FormattedMessage } from 'react-intl';
import styles from './styles.scss';
/* eslint-disable react/require-default-props */
function ContentHeader({ name, description }) { // eslint-disable-line react/prefer-stateless-f... |
src/pages/login.js | delta-plus/andsquare | 'use strict';
import React, { Component } from 'react';
import {
AppRegistry,
Text,
Image,
TextInput,
View,
dismissKeyboard,
AsyncStorage
} from 'react-native';
import DismissKeyboard from 'dismissKeyboard';
import Button from '../components/button';
import Header from '../components/header';
import Sign... |
src/routes.js | abhisharkjangir/nasa | import React from 'react';
import {Route, IndexRoute} from 'react-router';
import App from './App';
import HomePage from './components/home/HomePage';
import AboutPage from './components/about/AboutPage';
import ApodPage from './components/apod/ApodPage';
import EpicPage from './components/epic/EpicPage';
import EarthP... |
src/js/components/List/stories/Show.js | HewlettPackard/grommet | import React from 'react';
import { Box, List, Menu } from 'grommet';
import { More } from 'grommet-icons';
const data = [];
for (let i = 0; i < 95; i += 1) {
data.push({
entry: `entry-${i + 1}`,
});
}
export const Show = () => (
<Box fill>
<Box margin="large" height="small" overflow="scroll">
<... |
node_modules/rc-select/es/Option.js | yhx0634/foodshopfront | import _classCallCheck from 'babel-runtime/helpers/classCallCheck';
import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn';
import _inherits from 'babel-runtime/helpers/inherits';
import React from 'react';
import PropTypes from 'prop-types';
var Option = function (_React$Component) {... |
app/components/Home.js | vanHeemstraDesigns/CreationsEcosystemStatic | import React from 'react';
import {Link} from 'react-router';
import HomeStore from '../stores/HomeStore'
import HomeActions from '../actions/HomeActions';
import {first, without, findWhere} from 'underscore';
class Home extends React.Component {
constructor(props) {
super(props);
this.state = HomeStore.get... |
newclient/scripts/components/user/dashboard/disclosure-archive-button/index.js | kuali/research-coi | /*
The Conflict of Interest (COI) module of Kuali Research
Copyright © 2005-2016 Kuali, Inc.
This program 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
Lic... |
src/components/app.js | yeshdev1/Everydays-project | import React, { Component } from 'react';
import NavBar from './Generic/nav-bar';
import MemorialsPage from './Memorials/memorials-list';
export default class App extends Component {
constructor(props){
super(props);
}
render() {
return (
<div className="container">
<NavBar />
<Mem... |
blueocean-material-icons/src/js/components/svg-icons/communication/screen-share.js | jenkinsci/blueocean-plugin | import React from 'react';
import SvgIcon from '../../SvgIcon';
const CommunicationScreenShare = (props) => (
<SvgIcon {...props}>
<path d="M20 18c1.1 0 1.99-.9 1.99-2L22 6c0-1.11-.9-2-2-2H4c-1.11 0-2 .89-2 2v10c0 1.1.89 2 2 2H0v2h24v-2h-4zm-7-3.53v-2.19c-2.78 0-4.61.85-6 2.72.56-2.67 2.11-5.33 6-5.87V7l4 3.73-4... |
src/main/resources/code/react/Apps/ManageRadars/Pages/ManageRadarTemplatesPage/RadarTemplateDetails/RadarCategoriesComponent/radarCategoryMap/colorMap/index.js | artieac/technologyradar | import React from 'react';
export const colorMap = (handleDropdownSelection, radarCategoryItem) => {
return [
{
key: 'dropdownItem',
render: rowData => {
return <a onClick ={(event) => handleDropdownSelection(event, rowData, radarCategoryItem)}>{ rowData.name }</a>;
},
},
];
}; |
dashboard-ui/test/helpers.js | CloudBoost/cloudboost | import React from 'react';
import { expect } from 'chai';
import sinon from 'sinon';
import { mount, render, shallow } from 'enzyme';
import { jsdom } from 'jsdom';
import getMuiTheme from 'material-ui/styles/getMuiTheme';
import * as CB from 'cloudboost';
require.extensions['.css'] = () => {
return;
};
var exposed... |
test/always-render-suggestions/AutosuggestApp.js | fresk-nc/react-autosuggest | import React, { Component } from 'react';
import sinon from 'sinon';
import Autosuggest from '../../src/AutosuggestContainer';
import languages from '../plain-list/languages';
import { escapeRegexCharacters } from '../../demo/src/components/utils/utils.js';
function getMatchingLanguages(value) {
const escapedValue =... |
ajax/libs/primereact/6.5.0/blockui/blockui.esm.js | cdnjs/cdnjs | import React, { Component } from 'react';
import { DomHandler, ZIndexUtils, classNames, ObjectUtils, Portal } from 'primereact/core';
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
}
function _defineProper... |
ajax/libs/boardgame-io/0.43.2/boardgameio.es.js | cdnjs/cdnjs | import { nanoid } from 'nanoid';
import { applyMiddleware, compose, createStore } from 'redux';
import produce from 'immer';
import { stringify, parse } from 'flatted';
import React from 'react';
import PropTypes from 'prop-types';
import ioNamespace__default from 'socket.io-client';
function noop() { }
const identity... |
ajax/libs/material-ui/5.0.0-alpha.6/es/utils/createSvgIcon.js | cdnjs/cdnjs | import _extends from "@babel/runtime/helpers/esm/extends";
import React from 'react';
import SvgIcon from '../SvgIcon';
/**
* Private module reserved for @material-ui/x packages.
*/
export default function createSvgIcon(path, displayName) {
const Component = (props, ref) => /*#__PURE__*/React.createElement(SvgIcon... |
ajax/libs/react-native-web/0.0.0-834df0271/exports/KeyboardAvoidingView/index.js | cdnjs/cdnjs | function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
f... |
ajax/libs/material-ui/4.9.3/es/RootRef/RootRef.js | cdnjs/cdnjs | import React from 'react';
import ReactDOM from 'react-dom';
import PropTypes from 'prop-types';
import { exactProp, refType } from '@material-ui/utils';
import setRef from '../utils/setRef';
/**
* ⚠️⚠️⚠️
* If you want the DOM element of a Material-UI component check out
* [FAQ: How can I access the DOM element?](/g... |
ajax/libs/primereact/6.5.0/tabview/tabview.esm.js | cdnjs/cdnjs | import React, { Component } from 'react';
import { DomHandler, UniqueComponentId, classNames, ObjectUtils, Ripple } from 'primereact/core';
function _defineProperties(target, props) {
for (var i = 0; i < props.length; i++) {
var descriptor = props[i];
descriptor.enumerable = descriptor.enumerable || false;
... |
ajax/libs/material-ui/4.9.8/es/styles/useTheme.js | cdnjs/cdnjs | import { useTheme as useThemeWithoutDefault } from '@material-ui/styles';
import React from 'react';
import defaultTheme from './defaultTheme';
export default function useTheme() {
const theme = useThemeWithoutDefault() || defaultTheme;
if (process.env.NODE_ENV !== 'production') {
// eslint-disable-next-line r... |
ajax/libs/material-ui/4.9.2/es/DialogContentText/DialogContentText.js | cdnjs/cdnjs | import _extends from "@babel/runtime/helpers/esm/extends";
import React from 'react';
import PropTypes from 'prop-types';
import withStyles from '../styles/withStyles';
import Typography from '../Typography';
export const styles = {
/* Styles applied to the root element. */
root: {
marginBottom: 12
}
};
const... |
ajax/libs/material-ui/4.9.3/es/MobileStepper/MobileStepper.js | cdnjs/cdnjs | import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import withStyles from '../styles/withStyles';
import Paper from '../Pap... |
ajax/libs/primereact/6.5.0-rc.1/orderlist/orderlist.esm.js | cdnjs/cdnjs | import React, { Component } from 'react';
import { Button } from 'primereact/button';
import { ObjectUtils, DomHandler, classNames } from 'primereact/utils';
import { Ripple } from 'primereact/ripple';
function _arrayLikeToArray(arr, len) {
if (len == null || len > arr.length) len = arr.length;
for (var i = 0, ar... |
ajax/libs/material-ui/4.9.4/es/Stepper/Stepper.js | cdnjs/cdnjs | import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import withStyles from '../styles/withStyles';
import Paper from '../Pap... |
ajax/libs/primereact/7.2.0/orderlist/orderlist.esm.js | cdnjs/cdnjs | import React, { Component } from 'react';
import { Button } from 'primereact/button';
import { ObjectUtils, DomHandler, classNames } from 'primereact/utils';
import { Ripple } from 'primereact/ripple';
function _arrayLikeToArray(arr, len) {
if (len == null || len > arr.length) len = arr.length;
for (var i = 0, ar... |
ajax/libs/react-native-web/0.15.5/modules/UnimplementedView/index.js | cdnjs/cdnjs | function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; ret... |
ajax/libs/material-ui/4.11.3/esm/utils/createSvgIcon.js | cdnjs/cdnjs | import _extends from "@babel/runtime/helpers/esm/extends";
import React from 'react';
import SvgIcon from '../SvgIcon';
/**
* Private module reserved for @material-ui/x packages.
*/
export default function createSvgIcon(path, displayName) {
var Component = function Component(props, ref) {
return /*#__PURE__*/R... |
ajax/libs/material-ui/4.9.3/es/Tooltip/Tooltip.js | cdnjs/cdnjs | import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import React from 'react';
import ReactDOM from 'react-dom';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import { elementAcceptingRef } from '@... |
ajax/libs/material-ui/4.9.4/es/StepLabel/StepLabel.js | cdnjs/cdnjs | import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import withStyles from '../styles/withStyles';
import Typography from '.... |
ajax/libs/material-ui/4.9.2/es/Typography/Typography.js | cdnjs/cdnjs | import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import withStyles from '../styles/withStyles';
import capitalize from '.... |
ajax/libs/material-ui/4.9.4/esm/ButtonBase/ButtonBase.js | cdnjs/cdnjs | import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import React from 'react';
import PropTypes from 'prop-types';
import ReactDOM from 'react-dom';
import clsx from 'clsx';
import { elementTypeAcceptingRef, refType } from... |
ajax/libs/material-ui/4.9.3/es/MenuList/MenuList.js | cdnjs/cdnjs | import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import React from 'react';
import { isFragment } from 'react-is';
import PropTypes from 'prop-types';
import ReactDOM from 'react-dom';
import ownerDocument fro... |
ajax/libs/react-native-web/0.17.3/exports/YellowBox/index.js | cdnjs/cdnjs | /**
* Copyright (c) Nicolas Gallagher.
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 UnimplementedView from '../../modules/UnimplementedVie... |
ajax/libs/zingchart-react/3.1.1/zingchart-react.es.js | cdnjs/cdnjs | import React, { Component } from 'react';
var EVENT_NAMES = [
'history_back',
'history_forward',
'destroy',
'beforedestroy',
'animation_step',
'animation_start',
'animation_end',
'guide_mouseout',
'guide_mousemove',
'dataload',
'dataparse',
'modulesready',
'dataready',
'resize',
'swipe',
... |
ajax/libs/material-ui/4.9.3/esm/Badge/Badge.js | cdnjs/cdnjs | import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import withStyles from '../styles/withStyles';
import capitalize from '../utils/ca... |
ajax/libs/react-native-web/0.0.0-e886427e3/modules/UnimplementedView/index.js | cdnjs/cdnjs | function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; ret... |
ajax/libs/react-native-web/0.13.10/exports/YellowBox/index.js | cdnjs/cdnjs | /**
* Copyright (c) Nicolas Gallagher.
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 UnimplementedView from '../../modules/UnimplementedVie... |
ajax/libs/material-ui/4.9.10/es/RootRef/RootRef.js | cdnjs/cdnjs | import * as React from 'react';
import * as ReactDOM from 'react-dom';
import PropTypes from 'prop-types';
import { exactProp, refType } from '@material-ui/utils';
import setRef from '../utils/setRef';
/**
* ⚠️⚠️⚠️
* If you want the DOM element of a Material-UI component check out
* [FAQ: How can I access the DOM el... |
ajax/libs/react-native-web/0.0.0-7cbe1609b/vendor/react-native/Animated/createAnimatedComponent.js | cdnjs/cdnjs | /**
* 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.
*
*
* @format
*/
'use strict';
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.leng... |
ajax/libs/material-ui/4.9.4/es/ExpansionPanelSummary/ExpansionPanelSummary.js | cdnjs/cdnjs | import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
/* eslint-disable jsx-a11y/aria-role */
import React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import ButtonBase from '../Butt... |
ajax/libs/primereact/6.6.0/gmap/gmap.esm.js | cdnjs/cdnjs | import React, { Component } from 'react';
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
}
function _defineProperties(target, props) {
for (var i = 0; i < props.length; i++) {
var descriptor = props[... |
ajax/libs/material-ui/4.9.4/es/FilledInput/FilledInput.js | cdnjs/cdnjs | import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import { refType } from '@material-ui/utils';
import InputBase from '../... |
ajax/libs/material-ui/4.9.4/esm/ListItemText/ListItemText.js | cdnjs/cdnjs | import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import withStyles from '../styles/withStyles';
import Typography from '../Typograp... |
ajax/libs/material-ui/4.9.2/es/internal/svg-icons/RadioButtonChecked.js | cdnjs/cdnjs | import React from 'react';
import createSvgIcon from './createSvgIcon';
/**
* @ignore - internal component.
*/
export default createSvgIcon(React.createElement("path", {
d: "M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C... |
ajax/libs/material-ui/4.9.4/esm/Checkbox/Checkbox.js | cdnjs/cdnjs | import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import { refType } from '@material-ui/utils';
import SwitchBase from '../internal/... |
ajax/libs/primereact/7.0.0-rc.1/deferredcontent/deferredcontent.esm.js | cdnjs/cdnjs | import React, { Component } from 'react';
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
}
function _defineProperties(target, props) {
for (var i = 0; i < props.length; i++) {
var descriptor = props[... |
ajax/libs/material-ui/4.9.2/es/RadioGroup/useRadioGroup.js | cdnjs/cdnjs | import React from 'react';
import RadioGroupContext from './RadioGroupContext';
export default function useRadioGroup() {
return React.useContext(RadioGroupContext);
} |
ajax/libs/material-ui/4.9.2/esm/ExpansionPanel/ExpansionPanel.js | cdnjs/cdnjs | import _extends from "@babel/runtime/helpers/esm/extends";
import _toArray from "@babel/runtime/helpers/esm/toArray";
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import React from 'react';
import { isFr... |
ajax/libs/react-native-web/0.17.2/exports/AppRegistry/renderApplication.js | cdnjs/cdnjs | function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
/... |
ajax/libs/primereact/7.2.0/blockui/blockui.esm.js | cdnjs/cdnjs | import React, { Component } from 'react';
import { DomHandler, ZIndexUtils, classNames, ObjectUtils } from 'primereact/utils';
import { Portal } from 'primereact/portal';
import PrimeReact from 'primereact/api';
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new... |
ajax/libs/material-ui/4.9.2/esm/Select/Select.js | cdnjs/cdnjs | import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import React from 'react';
import PropTypes from 'prop-types';
import { mergeClasses } from '@material-ui/styles';
import SelectInput from './SelectInput';
import formCon... |
ajax/libs/material-ui/4.9.4/es/internal/svg-icons/CheckBoxOutlineBlank.js | cdnjs/cdnjs | import React from 'react';
import createSvgIcon from './createSvgIcon';
/**
* @ignore - internal component.
*/
export default createSvgIcon(React.createElement("path", {
d: "M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
}), 'CheckBoxOutlineBlank'); |
ajax/libs/material-ui/4.9.4/es/useScrollTrigger/useScrollTrigger.js | cdnjs/cdnjs | import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import React from 'react';
function getScrollY(ref) {
return ref.pageYOffset !== undefined ? ref.pageYOffset : ref.scrollTop;
}
function defaultTrigger(event, store, options) {
const {
disableHysteresis = fals... |
ajax/libs/react-redux/7.1.0-rc.1/react-redux.js | cdnjs/cdnjs | (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('redux'), require('react-dom')) :
typeof define === 'function' && define.amd ? define(['exports', 'react', 'redux', 'react-dom'], factory) :
(global = global || self, factory(glo... |
ajax/libs/material-ui/4.9.2/esm/RadioGroup/RadioGroup.js | cdnjs/cdnjs | import _extends from "@babel/runtime/helpers/esm/extends";
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import React from 'react';
import PropTypes from 'prop-types';
import FormGroup from '../FormGroup'... |
ajax/libs/material-ui/4.9.2/esm/Table/Tablelvl2Context.js | cdnjs/cdnjs | import React from 'react';
/**
* @ignore - internal component.
*/
var Tablelvl2Context = React.createContext();
if (process.env.NODE_ENV !== 'production') {
Tablelvl2Context.displayName = 'Tablelvl2Context';
}
export default Tablelvl2Context; |
ajax/libs/material-ui/4.11.3/esm/styles/useTheme.js | cdnjs/cdnjs | import { useTheme as useThemeWithoutDefault } from '@material-ui/styles';
import React from 'react';
import defaultTheme from './defaultTheme';
export default function useTheme() {
var theme = useThemeWithoutDefault() || defaultTheme;
if (process.env.NODE_ENV !== 'production') {
// eslint-disable-next-line rea... |
ajax/libs/react-native-web/0.0.0-376ccc31b/modules/UnimplementedView/index.js | cdnjs/cdnjs | function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENS... |
ajax/libs/primereact/6.5.1/panelmenu/panelmenu.esm.js | cdnjs/cdnjs | import React, { Component } from 'react';
import { UniqueComponentId, classNames, ObjectUtils, CSSTransition } from 'primereact/core';
function _arrayLikeToArray(arr, len) {
if (len == null || len > arr.length) len = arr.length;
for (var i = 0, arr2 = new Array(len); i < len; i++) {
arr2[i] = arr[i];
}
r... |
ajax/libs/react-instantsearch/6.8.2/Dom.js | cdnjs/cdnjs | /*! React InstantSearch 6.8.2 | © Algolia, inc. | https://github.com/algolia/react-instantsearch */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) :
typeof define === 'function' && define.amd ? define(['exports', 'react'], factory) :
... |
ajax/libs/primereact/6.5.0-rc.2/tabview/tabview.esm.js | cdnjs/cdnjs | import React, { Component } from 'react';
import { DomHandler, UniqueComponentId, classNames, ObjectUtils } from 'primereact/utils';
import { Ripple } from 'primereact/ripple';
function _defineProperties(target, props) {
for (var i = 0; i < props.length; i++) {
var descriptor = props[i];
descriptor.enumerabl... |
ajax/libs/primereact/6.5.0/tieredmenu/tieredmenu.esm.js | cdnjs/cdnjs | import React, { Component } from 'react';
import { DomHandler, classNames, Ripple, ObjectUtils, OverlayService, ZIndexUtils, ConnectedOverlayScrollHandler, CSSTransition, Portal } from 'primereact/core';
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeErr... |
ajax/libs/primereact/6.5.1/knob/knob.esm.js | cdnjs/cdnjs | import React, { Component } from 'react';
import { classNames } from 'primereact/core';
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
}
function _defineProperties(target, props) {
for (var i = 0; i < pr... |
ajax/libs/primereact/6.5.0-rc.1/avatargroup/avatargroup.esm.js | cdnjs/cdnjs | import React, { Component } from 'react';
import { classNames } from 'primereact/utils';
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
}
function _defineProperties(target, props) {
for (var i = 0; i < p... |
ajax/libs/primereact/7.0.0-rc.1/slider/slider.esm.js | cdnjs/cdnjs | import React, { Component } from 'react';
import { DomHandler, classNames } from 'primereact/core';
function _arrayLikeToArray(arr, len) {
if (len == null || len > arr.length) len = arr.length;
for (var i = 0, arr2 = new Array(len); i < len; i++) {
arr2[i] = arr[i];
}
return arr2;
}
function _arrayWitho... |
ajax/libs/primereact/7.0.1/fieldset/fieldset.esm.js | cdnjs/cdnjs | import React, { Component } from 'react';
import { UniqueComponentId, classNames } from 'primereact/utils';
import { CSSTransition } from 'primereact/csstransition';
import { Ripple } from 'primereact/ripple';
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new T... |
ajax/libs/primereact/6.5.1/slider/slider.esm.js | cdnjs/cdnjs | import React, { Component } from 'react';
import { DomHandler, classNames } from 'primereact/core';
function _arrayLikeToArray(arr, len) {
if (len == null || len > arr.length) len = arr.length;
for (var i = 0, arr2 = new Array(len); i < len; i++) {
arr2[i] = arr[i];
}
return arr2;
}
function _arrayWitho... |
ajax/libs/material-ui/4.9.2/esm/FilledInput/FilledInput.js | cdnjs/cdnjs | import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import { refType } from '@material-ui/utils';
import InputBase from '../InputBase'... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.