Skip to content

Commit

Permalink
Remove success and info circle icons, as not presently needed
Browse files Browse the repository at this point in the history
  • Loading branch information
danjm committed Mar 9, 2020
1 parent fb625e1 commit 27939e3
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 34 deletions.
12 changes: 0 additions & 12 deletions ui/app/components/ui/message-circle-icon/index.scss
Original file line number Diff line number Diff line change
@@ -1,22 +1,10 @@
.message-circle-icon {
&--success {
border-color: $success-green;
color: $success-green;
background: $success-light-green;
}

&--danger {
border-color: $danger-red;
color: $danger-red;
background: $danger-light-red;
}

&--info {
border-color: $info-blue;
color: $info-blue;
background: $info-light-blue;
}

&--warning {
border-color: $warning-yellow;
color: $warning-yellow;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,14 @@ import React, { Component } from 'react'
import PropTypes from 'prop-types'
import CircleIcon from '../circle-icon'

import success from '../../../../../app/images/icons/green-circle-check.svg'
import danger from '../../../../../app/images/icons/red-triangle-exclaim.svg'
import info from '../../../../../app/images/icons/blue-circle-info.svg'
import warning from '../../../../../app/images/icons/yellow-bell.svg'

const typeConfig = {
success: {
circleClass: 'message-circle-icon--success',
iconSource: success,
},
danger: {
circleClass: 'message-circle-icon--danger',
iconSource: danger,
},
info: {
circleClass: 'message-circle-icon--info',
iconSource: info,
},
warning: {
circleClass: 'message-circle-icon--warning',
iconSource: warning,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ export default {
title: 'MessageCircleIcon',
}

export const successCircleIcon = () => (
<MessageCircleIcon
type="success"
/>
)

export const dangerCircleIcon = () => (
<MessageCircleIcon
type="danger"
Expand All @@ -22,9 +16,3 @@ export const warningCircleIcon = () => (
type="warning"
/>
)

export const infoCircleIcon = () => (
<MessageCircleIcon
type="info"
/>
)

0 comments on commit 27939e3

Please sign in to comment.