File tree Expand file tree Collapse file tree 5 files changed +13
-1
lines changed
Expand file tree Collapse file tree 5 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ export class Checkbox extends Component<CheckboxProps> {
3535 < input
3636 { ...( this . props . name ? { name : this . props . name } : { } ) }
3737 type = "checkbox"
38- className = " form__checkbox"
38+ className = { ` form__checkbox ${ this . props . error ? 'error' : '' } ` }
3939 disabled = { this . props . disabled }
4040 value = { this . props . value }
4141 onChange = { this . props . onChange }
Original file line number Diff line number Diff line change @@ -117,6 +117,7 @@ export interface CheckboxProps {
117117 onClick ?: ( event ) => void
118118 id ?: string
119119 dataTestId ?: string
120+ error ?: boolean
120121}
121122
122123export interface TippyCustomizedProps extends Pick < TippyProps , 'appendTo' > {
Original file line number Diff line number Diff line change @@ -50,6 +50,8 @@ import { ReactComponent as ICError } from '@IconsV2/ic-error.svg'
5050import { ReactComponent as ICFailure } from '@IconsV2/ic-failure.svg'
5151import { ReactComponent as ICFastForward } from '@IconsV2/ic-fast-forward.svg'
5252import { ReactComponent as ICFileKey } from '@IconsV2/ic-file-key.svg'
53+ import { ReactComponent as ICFilter } from '@IconsV2/ic-filter.svg'
54+ import { ReactComponent as ICFilterApplied } from '@IconsV2/ic-filter-applied.svg'
5355import { ReactComponent as ICFlask } from '@IconsV2/ic-flask.svg'
5456import { ReactComponent as ICFolderUser } from '@IconsV2/ic-folder-user.svg'
5557import { ReactComponent as ICGear } from '@IconsV2/ic-gear.svg'
@@ -187,6 +189,8 @@ export const iconMap = {
187189 'ic-failure' : ICFailure ,
188190 'ic-fast-forward' : ICFastForward ,
189191 'ic-file-key' : ICFileKey ,
192+ 'ic-filter-applied' : ICFilterApplied ,
193+ 'ic-filter' : ICFilter ,
190194 'ic-flask' : ICFlask ,
191195 'ic-folder-user' : ICFolderUser ,
192196 'ic-gear' : ICGear ,
You can’t perform that action at this time.
0 commit comments