Skip to content

Commit e23eb62

Browse files
feat: add icon for bsd and handle it
1 parent 50f29ec commit e23eb62

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/components/Person.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ Person.propTypes = {
144144
description: PropTypes.string,
145145
tags: PropTypes.arrayOf(PropTypes.string),
146146
country: PropTypes.string,
147-
computer: PropTypes.oneOf(['apple', 'windows', 'linux']),
147+
computer: PropTypes.oneOf(['apple', 'windows', 'linux', 'bsd']),
148148
phone: PropTypes.oneOf(['iphone', 'android', 'windowsphone', 'flipphone']),
149149
twitter(props, propName, componentName) {
150150
if (!/^@?(\w){1,15}$/.test(props[propName])) {

src/images/bsd.png

83.9 KB
Loading

src/util/icons.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ import windows from '../images/windows.svg';
55
import apple from '../images/apple.svg';
66
import linux from '../images/linux.png';
77
import flipphone from '../images/flip-phone.png';
8+
import bsd from '../images/bsd.png';
89

9-
export { iphone, android, windowsphone, windows, apple, linux, flipphone };
10+
export { iphone, android, windowsphone, windows, apple, linux, flipphone, bsd };

0 commit comments

Comments
 (0)