@comparaonline/ui-offer-sort
TypeScript icon, indicating that this package has built-in type declarations

6.1.0 • Public • Published

ui-offer-sort

This component will render a select box using Material-UI as a core

Installation

yarn add @comparaonline/ui-offer-sort

##Usage

import { Sort } from '@comparaonline/ui-offer-sort';

The Sort is an extension of Select, so it receives all the props of it.

Prop required type Description
options false Option [...] Array of Option interface

Implementation

import { Sort, Option } from '@comparaonline/ui-offer-sort';

const options: Option[] = [...];

class MyForm extends React.Component {
    render() {
        return (
            <label>
                <Sort options={options} />
            </label>
        );
    }
}

Readme

Keywords

none

Package Sidebar

Install

npm i @comparaonline/ui-offer-sort

Weekly Downloads

3

Version

6.1.0

License

MIT

Unpacked Size

15.7 kB

Total Files

14

Last publish

Collaborators

  • gnavarro
  • dsuarez_compa
  • pfariaz
  • ricardo.sosa
  • suarezcumare
  • fverag
  • comparaonline-dev
  • comparaonlineprivate
  • matotias
  • javierlara1989
  • smurua
  • eseceve
  • pablocompara