import React from 'react';
export const CheckboxChecked = ({
width = '20',
height = '20',
onClick,
id,
activated = false,
fill = 'black',
beIcon = false
}: any) => {
const setActivationStatusColors = (activated: boolean, beIcon: boolean) => {
if (beIcon) {
return {
circle: fill,
outline: fill,
tick: 'white'
};
}
if (activated) {
return {
circle: 'black',
outline: 'black',
tick: 'white'
};
}
return {
circle: 'white',
outline: 'black',
tick: 'black'
};
};
const checkboxColors = setActivationStatusColors(activated, beIcon);
return (
);
};
export const CheckboxUnchecked = ({
width = '20',
height = '20',
onClick,
id,
fill = 'black'
}: any) => (
);