Skip to content

Instantly share code, notes, and snippets.

Rishav Sharma UiCandy

Block or report user

Report or block UiCandy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View searchBox.jsx
import React from 'react';
import 'whatwg-fetch';
import { Button, Icon, Input } from 'semantic-ui-react';
class SearchBox extends React.Component {
constructor(props) {
this.searchQuery = this.searchQuery.bind(this);
this.createCity = this.createCity.bind(this);
this.state = { search: '' };
View Card.jsx
import React from 'react';
const Card = (props) => (
<span> {props.index} | {props.details}</span>
Card.propTypes = {
index: React.PropTypes.any,
details: React.PropTypes.any
You can’t perform that action at this time.