mirror of
https://github.com/BradNut/awesome-uses
synced 2025-09-08 17:40:31 +00:00
feat: add icon for bsd and handle it
This commit is contained in:
parent
50f29ecf3b
commit
e23eb62875
3 changed files with 3 additions and 2 deletions
|
|
@ -144,7 +144,7 @@ Person.propTypes = {
|
||||||
description: PropTypes.string,
|
description: PropTypes.string,
|
||||||
tags: PropTypes.arrayOf(PropTypes.string),
|
tags: PropTypes.arrayOf(PropTypes.string),
|
||||||
country: PropTypes.string,
|
country: PropTypes.string,
|
||||||
computer: PropTypes.oneOf(['apple', 'windows', 'linux']),
|
computer: PropTypes.oneOf(['apple', 'windows', 'linux', 'bsd']),
|
||||||
phone: PropTypes.oneOf(['iphone', 'android', 'windowsphone', 'flipphone']),
|
phone: PropTypes.oneOf(['iphone', 'android', 'windowsphone', 'flipphone']),
|
||||||
twitter(props, propName, componentName) {
|
twitter(props, propName, componentName) {
|
||||||
if (!/^@?(\w){1,15}$/.test(props[propName])) {
|
if (!/^@?(\w){1,15}$/.test(props[propName])) {
|
||||||
|
|
|
||||||
BIN
src/images/bsd.png
Normal file
BIN
src/images/bsd.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 84 KiB |
|
|
@ -5,5 +5,6 @@ import windows from '../images/windows.svg';
|
||||||
import apple from '../images/apple.svg';
|
import apple from '../images/apple.svg';
|
||||||
import linux from '../images/linux.png';
|
import linux from '../images/linux.png';
|
||||||
import flipphone from '../images/flip-phone.png';
|
import flipphone from '../images/flip-phone.png';
|
||||||
|
import bsd from '../images/bsd.png';
|
||||||
|
|
||||||
export { iphone, android, windowsphone, windows, apple, linux, flipphone };
|
export { iphone, android, windowsphone, windows, apple, linux, flipphone, bsd };
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue