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 / dist / components / molecules / 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}
 */
export default class ProductOptions extends React.Component<ProductOptionsProps> {
    static defaultProps: {
        list: Readonly<{
            name: string;
            image: string;
            isSelected: boolean;
            isDisabled: boolean;
        }>[];
        isDropdown: boolean;
        type: string;
        onChange(...params: any[]): {};
    };
    handleClick: (event: any, item: Readonly<{}> | undefined, state: any) => void;
    readonly View: typeof SwatchOption | typeof RadioOption | typeof SelectOption;
    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;
}