react-icons/md#MdCancel JavaScript Examples
The following examples show how to use
react-icons/md#MdCancel.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ProviderSearch.js From HexactaLabs-NetCore_React-Initial with Apache License 2.0 | 6 votes |
Search = props => {
return (
<React.Fragment>
<h4>Búsqueda</h4>
<Row>
<Col>
<Input
name="name"
id="nameInput"
type="text"
onChange={props.handleFilter}
value={props.filters.name}
placeholder="Nombre"
/>
</Col>
<Col>
<Input
name="email"
id="emailInput"
type="text"
onChange={props.handleFilter}
value={props.filters.email}
placeholder="Email"
/>
</Col>
<Col>
<Button color="primary" onClick={props.submitFilter}>
<MdSearch /> Buscar
</Button>
<Button color="primary" className="ml-3" onClick={props.clearFilter}>
<MdCancel /> Limpiar
</Button>
</Col>
</Row>
</React.Fragment>
);
}
Example #2
Source File: StoreSearch.js From HexactaLabs-NetCore_React-Initial with Apache License 2.0 | 6 votes |
Search = props => {
return (
<React.Fragment>
<h4>Búsqueda</h4>
<Row>
<Col>
<Input
name="name"
id="nameInput"
type="text"
onChange={props.handleFilter}
value={props.filters.name}
placeholder="Nombre"
/>
</Col>
<Col>
<Input
name="address"
id="addressInput"
type="text"
onChange={props.handleFilter}
value={props.filters.address}
placeholder="Dirección"
/>
</Col>
<Col>
<Button color="primary" onClick={props.submitFilter}>
<MdSearch /> Buscar
</Button>
<Button color="primary" className="ml-3" onClick={props.clearFilter}>
<MdCancel /> Limpiar
</Button>
</Col>
</Row>
</React.Fragment>
);
}
Example #3
Source File: ProductSearch.js From HexactaLabs-NetCore_React-Final with Apache License 2.0 | 6 votes |
Search = props => {
return (
<React.Fragment>
<h4>Búsqueda</h4>
<Row>
<Col>
<Input
name="Name"
id="nameInput"
type="text"
onChange={props.handleFilter}
value={props.filters.Name}
placeholder="Nombre"
/>
</Col>
<Col>
<Input
name="Brand"
id="brandInput"
type="text"
onChange={props.handleFilter}
value={props.filters.Brand}
placeholder="Tipo de producto"
/>
</Col>
<Col>
<Button color="primary" onClick={props.submitFilter}>
<MdSearch /> Buscar
</Button>
<Button color="primary" className="ml-3" onClick={props.clearFilter}>
<MdCancel /> Limpiar
</Button>
</Col>
</Row>
</React.Fragment>
);
}
Example #4
Source File: ProductTypeSearch.js From HexactaLabs-NetCore_React-Level1 with Apache License 2.0 | 6 votes |
Search = (props) => {
return (
<React.Fragment>
<h4>Búsqueda</h4>
<Row>
<Col>
<Input
name="initials"
id="nameInput"
type="text"
onChange={props.handleFilter}
value={props.filters.initials}
placeholder="Iniciales"
/>
</Col>
<Col>
<Input
name="description"
id="emailInput"
type="text"
onChange={props.handleFilter}
value={props.filters.description}
placeholder="Descripcion"
/>
</Col>
<Col>
<Button color="primary" onClick={props.submitFilter}>
<MdSearch /> Buscar
</Button>
<Button color="primary" className="ml-3" onClick={props.clearFilter}>
<MdCancel /> Limpiar
</Button>
</Col>
</Row>
</React.Fragment>
);
}
Example #5
Source File: ProductTypeSearch.js From HexactaLabs-NetCore_React-Level1 with Apache License 2.0 | 6 votes |
Search = props => {
return (
<React.Fragment>
<h4>Búsqueda</h4>
<Row>
<Col>
<Input
name="initials"
id="initialsInput"
type="text"
onChange={props.handleFilter}
value={props.filters.initials}
placeholder="Iniciales"
/>
</Col>
<Col>
<Input
name="description"
id="descriptionInput"
type="text"
onChange={props.handleFilter}
value={props.filters.description}
placeholder="Descripcion"
/>
</Col>
<Col>
<Button color="primary" onClick={props.submitFilter}>
<MdSearch /> Buscar
</Button>
<Button color="primary" className="ml-3" onClick={props.clearFilter}>
<MdCancel /> Limpiar
</Button>
</Col>
</Row>
</React.Fragment>
);
}