Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/ui-presets / dist / presets / ProductOptions / ProductOptions.d.ts
Size: Mime:
import React from 'react';
import RadioOption from './RadioOption';
import SelectOption from './SelectOption';
import SwatchOption from './SquareOption';
import { ProductOptionsProps } from './typings';
/**
 * @type {Organism}
 */
declare class ProductOptions extends React.Component<ProductOptionsProps> {
    static defaultProps: {
        className: string;
        list: Readonly<{
            name: string;
            image: string;
            isSelected: boolean;
            isDisabled: boolean;
        }>[];
        isDropdown: boolean;
        type: string;
        onChange(params_0: string, params_1: React.ReactText): {};
    };
    handleClick: (event: any, item: Readonly<{}> | undefined, state: any) => void;
    readonly View: typeof RadioOption | typeof SelectOption | typeof SwatchOption;
    readonly attributes: {
        list: import("./typings").ListItem[] | undefined;
        type: string | undefined;
        selectedValue: Object | undefined;
        onClick: (event: any, item: Readonly<{}> | undefined, state: any) => void;
    };
    render(): JSX.Element;
}
export default ProductOptions;
export { ProductOptions };