@comparaonline/ui-offer-sort

> This component will render a select box using [Material-UI](https://material-ui.com/api/select/) as a core

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
@comparaonline/ui-offer-sort
Minified + gzip package size for @comparaonline/ui-offer-sort in KB

Readme

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>
        );
    }
}

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.