|
|
@ -8,10 +8,10 @@ interface ExtendedOptionProps extends OptionProps<any> { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
export const Option = (props: ExtendedOptionProps) => { |
|
|
|
export const Option = (props: ExtendedOptionProps) => { |
|
|
|
const { children, isSelected, data } = props; |
|
|
|
const { children, isSelected, data, className } = props; |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<components.Option {...props}> |
|
|
|
<components.Option {...props}> |
|
|
|
<div className={`description-picker-option__button btn btn-link width-19`}> |
|
|
|
<div className={`description-picker-option__button btn btn-link ${className}`}> |
|
|
|
{isSelected && <i className="fa fa-check pull-right" aria-hidden="true" />} |
|
|
|
{isSelected && <i className="fa fa-check pull-right" aria-hidden="true" />} |
|
|
|
<div className="gf-form">{children}</div> |
|
|
|
<div className="gf-form">{children}</div> |
|
|
|
<div className="gf-form"> |
|
|
|
<div className="gf-form"> |
|
|
|