From 0792fbe7ce82b6111c6f786a0564268cf28908be Mon Sep 17 00:00:00 2001 From: Matt Date: Fri, 6 Sep 2019 08:49:57 +0100 Subject: [PATCH] [icons] Add social icons (#17274) --- packages/material-ui-icons/builder.js | 1 + packages/material-ui-icons/custom/Apple.js | 7 +++++++ packages/material-ui-icons/custom/Facebook.js | 7 +++++++ packages/material-ui-icons/custom/Instagram.js | 7 +++++++ packages/material-ui-icons/custom/LinkedIn.js | 7 +++++++ packages/material-ui-icons/custom/Pinterest.js | 7 +++++++ packages/material-ui-icons/custom/Reddit.js | 7 +++++++ packages/material-ui-icons/custom/Telegram.js | 7 +++++++ packages/material-ui-icons/custom/Twitter.js | 7 +++++++ packages/material-ui-icons/custom/WhatsApp.js | 7 +++++++ packages/material-ui-icons/custom/YouTube.js | 7 +++++++ packages/material-ui-icons/src/Apple.js | 7 +++++++ packages/material-ui-icons/src/Facebook.js | 7 +++++++ packages/material-ui-icons/src/Instagram.js | 7 +++++++ packages/material-ui-icons/src/LinkedIn.js | 7 +++++++ packages/material-ui-icons/src/Pinterest.js | 7 +++++++ packages/material-ui-icons/src/Reddit.js | 7 +++++++ packages/material-ui-icons/src/Telegram.js | 7 +++++++ packages/material-ui-icons/src/Twitter.js | 7 +++++++ packages/material-ui-icons/src/WhatsApp.js | 7 +++++++ packages/material-ui-icons/src/YouTube.js | 7 +++++++ packages/material-ui-icons/src/index.js | 10 ++++++++++ 22 files changed, 151 insertions(+) create mode 100644 packages/material-ui-icons/custom/Apple.js create mode 100644 packages/material-ui-icons/custom/Facebook.js create mode 100644 packages/material-ui-icons/custom/Instagram.js create mode 100644 packages/material-ui-icons/custom/LinkedIn.js create mode 100644 packages/material-ui-icons/custom/Pinterest.js create mode 100644 packages/material-ui-icons/custom/Reddit.js create mode 100644 packages/material-ui-icons/custom/Telegram.js create mode 100644 packages/material-ui-icons/custom/Twitter.js create mode 100644 packages/material-ui-icons/custom/WhatsApp.js create mode 100644 packages/material-ui-icons/custom/YouTube.js create mode 100644 packages/material-ui-icons/src/Apple.js create mode 100644 packages/material-ui-icons/src/Facebook.js create mode 100644 packages/material-ui-icons/src/Instagram.js create mode 100644 packages/material-ui-icons/src/LinkedIn.js create mode 100644 packages/material-ui-icons/src/Pinterest.js create mode 100644 packages/material-ui-icons/src/Reddit.js create mode 100644 packages/material-ui-icons/src/Telegram.js create mode 100644 packages/material-ui-icons/src/Twitter.js create mode 100644 packages/material-ui-icons/src/WhatsApp.js create mode 100644 packages/material-ui-icons/src/YouTube.js diff --git a/packages/material-ui-icons/builder.js b/packages/material-ui-icons/builder.js index 0cb8709554c608..233681837cb8e9 100755 --- a/packages/material-ui-icons/builder.js +++ b/packages/material-ui-icons/builder.js @@ -228,6 +228,7 @@ export async function main(options) { await queue.wait({ empty: true }); await fse.copy(path.join(__dirname, '/legacy'), options.outputDir); + await fse.copy(path.join(__dirname, '/custom'), options.outputDir); await generateIndex(options); diff --git a/packages/material-ui-icons/custom/Apple.js b/packages/material-ui-icons/custom/Apple.js new file mode 100644 index 00000000000000..437594a7c1978b --- /dev/null +++ b/packages/material-ui-icons/custom/Apple.js @@ -0,0 +1,7 @@ +import React from 'react'; +import createSvgIcon from './utils/createSvgIcon'; + +export default createSvgIcon( + , + 'Apple', +); diff --git a/packages/material-ui-icons/custom/Facebook.js b/packages/material-ui-icons/custom/Facebook.js new file mode 100644 index 00000000000000..de29590743ab37 --- /dev/null +++ b/packages/material-ui-icons/custom/Facebook.js @@ -0,0 +1,7 @@ +import React from 'react'; +import createSvgIcon from './utils/createSvgIcon'; + +export default createSvgIcon( + , + 'Facebook', +); diff --git a/packages/material-ui-icons/custom/Instagram.js b/packages/material-ui-icons/custom/Instagram.js new file mode 100644 index 00000000000000..4c3144fd8640e5 --- /dev/null +++ b/packages/material-ui-icons/custom/Instagram.js @@ -0,0 +1,7 @@ +import React from 'react'; +import createSvgIcon from './utils/createSvgIcon'; + +export default createSvgIcon( + , + 'Instagram', +); diff --git a/packages/material-ui-icons/custom/LinkedIn.js b/packages/material-ui-icons/custom/LinkedIn.js new file mode 100644 index 00000000000000..d4e2d53d69812a --- /dev/null +++ b/packages/material-ui-icons/custom/LinkedIn.js @@ -0,0 +1,7 @@ +import React from 'react'; +import createSvgIcon from './utils/createSvgIcon'; + +export default createSvgIcon( + , + 'LinkedIn', +); diff --git a/packages/material-ui-icons/custom/Pinterest.js b/packages/material-ui-icons/custom/Pinterest.js new file mode 100644 index 00000000000000..826d4377a186b6 --- /dev/null +++ b/packages/material-ui-icons/custom/Pinterest.js @@ -0,0 +1,7 @@ +import React from 'react'; +import createSvgIcon from './utils/createSvgIcon'; + +export default createSvgIcon( + , + 'Pinterest', +); diff --git a/packages/material-ui-icons/custom/Reddit.js b/packages/material-ui-icons/custom/Reddit.js new file mode 100644 index 00000000000000..714109b74f1e0b --- /dev/null +++ b/packages/material-ui-icons/custom/Reddit.js @@ -0,0 +1,7 @@ +import React from 'react'; +import createSvgIcon from './utils/createSvgIcon'; + +export default createSvgIcon( + , + 'Reddit', +); diff --git a/packages/material-ui-icons/custom/Telegram.js b/packages/material-ui-icons/custom/Telegram.js new file mode 100644 index 00000000000000..7b1241c05aa608 --- /dev/null +++ b/packages/material-ui-icons/custom/Telegram.js @@ -0,0 +1,7 @@ +import React from 'react'; +import createSvgIcon from './utils/createSvgIcon'; + +export default createSvgIcon( + , + 'Telegram', +); diff --git a/packages/material-ui-icons/custom/Twitter.js b/packages/material-ui-icons/custom/Twitter.js new file mode 100644 index 00000000000000..4ba06897b8f035 --- /dev/null +++ b/packages/material-ui-icons/custom/Twitter.js @@ -0,0 +1,7 @@ +import React from 'react'; +import createSvgIcon from './utils/createSvgIcon'; + +export default createSvgIcon( + , + 'Twitter', +); diff --git a/packages/material-ui-icons/custom/WhatsApp.js b/packages/material-ui-icons/custom/WhatsApp.js new file mode 100644 index 00000000000000..2774ea87a2fe1e --- /dev/null +++ b/packages/material-ui-icons/custom/WhatsApp.js @@ -0,0 +1,7 @@ +import React from 'react'; +import createSvgIcon from './utils/createSvgIcon'; + +export default createSvgIcon( + , + 'WhatsApp', +); diff --git a/packages/material-ui-icons/custom/YouTube.js b/packages/material-ui-icons/custom/YouTube.js new file mode 100644 index 00000000000000..b6338e1674c0e7 --- /dev/null +++ b/packages/material-ui-icons/custom/YouTube.js @@ -0,0 +1,7 @@ +import React from 'react'; +import createSvgIcon from './utils/createSvgIcon'; + +export default createSvgIcon( + , + 'YouTube', +); diff --git a/packages/material-ui-icons/src/Apple.js b/packages/material-ui-icons/src/Apple.js new file mode 100644 index 00000000000000..437594a7c1978b --- /dev/null +++ b/packages/material-ui-icons/src/Apple.js @@ -0,0 +1,7 @@ +import React from 'react'; +import createSvgIcon from './utils/createSvgIcon'; + +export default createSvgIcon( + , + 'Apple', +); diff --git a/packages/material-ui-icons/src/Facebook.js b/packages/material-ui-icons/src/Facebook.js new file mode 100644 index 00000000000000..de29590743ab37 --- /dev/null +++ b/packages/material-ui-icons/src/Facebook.js @@ -0,0 +1,7 @@ +import React from 'react'; +import createSvgIcon from './utils/createSvgIcon'; + +export default createSvgIcon( + , + 'Facebook', +); diff --git a/packages/material-ui-icons/src/Instagram.js b/packages/material-ui-icons/src/Instagram.js new file mode 100644 index 00000000000000..4c3144fd8640e5 --- /dev/null +++ b/packages/material-ui-icons/src/Instagram.js @@ -0,0 +1,7 @@ +import React from 'react'; +import createSvgIcon from './utils/createSvgIcon'; + +export default createSvgIcon( + , + 'Instagram', +); diff --git a/packages/material-ui-icons/src/LinkedIn.js b/packages/material-ui-icons/src/LinkedIn.js new file mode 100644 index 00000000000000..d4e2d53d69812a --- /dev/null +++ b/packages/material-ui-icons/src/LinkedIn.js @@ -0,0 +1,7 @@ +import React from 'react'; +import createSvgIcon from './utils/createSvgIcon'; + +export default createSvgIcon( + , + 'LinkedIn', +); diff --git a/packages/material-ui-icons/src/Pinterest.js b/packages/material-ui-icons/src/Pinterest.js new file mode 100644 index 00000000000000..826d4377a186b6 --- /dev/null +++ b/packages/material-ui-icons/src/Pinterest.js @@ -0,0 +1,7 @@ +import React from 'react'; +import createSvgIcon from './utils/createSvgIcon'; + +export default createSvgIcon( + , + 'Pinterest', +); diff --git a/packages/material-ui-icons/src/Reddit.js b/packages/material-ui-icons/src/Reddit.js new file mode 100644 index 00000000000000..714109b74f1e0b --- /dev/null +++ b/packages/material-ui-icons/src/Reddit.js @@ -0,0 +1,7 @@ +import React from 'react'; +import createSvgIcon from './utils/createSvgIcon'; + +export default createSvgIcon( + , + 'Reddit', +); diff --git a/packages/material-ui-icons/src/Telegram.js b/packages/material-ui-icons/src/Telegram.js new file mode 100644 index 00000000000000..7b1241c05aa608 --- /dev/null +++ b/packages/material-ui-icons/src/Telegram.js @@ -0,0 +1,7 @@ +import React from 'react'; +import createSvgIcon from './utils/createSvgIcon'; + +export default createSvgIcon( + , + 'Telegram', +); diff --git a/packages/material-ui-icons/src/Twitter.js b/packages/material-ui-icons/src/Twitter.js new file mode 100644 index 00000000000000..4ba06897b8f035 --- /dev/null +++ b/packages/material-ui-icons/src/Twitter.js @@ -0,0 +1,7 @@ +import React from 'react'; +import createSvgIcon from './utils/createSvgIcon'; + +export default createSvgIcon( + , + 'Twitter', +); diff --git a/packages/material-ui-icons/src/WhatsApp.js b/packages/material-ui-icons/src/WhatsApp.js new file mode 100644 index 00000000000000..2774ea87a2fe1e --- /dev/null +++ b/packages/material-ui-icons/src/WhatsApp.js @@ -0,0 +1,7 @@ +import React from 'react'; +import createSvgIcon from './utils/createSvgIcon'; + +export default createSvgIcon( + , + 'WhatsApp', +); diff --git a/packages/material-ui-icons/src/YouTube.js b/packages/material-ui-icons/src/YouTube.js new file mode 100644 index 00000000000000..b6338e1674c0e7 --- /dev/null +++ b/packages/material-ui-icons/src/YouTube.js @@ -0,0 +1,7 @@ +import React from 'react'; +import createSvgIcon from './utils/createSvgIcon'; + +export default createSvgIcon( + , + 'YouTube', +); diff --git a/packages/material-ui-icons/src/index.js b/packages/material-ui-icons/src/index.js index 83695281da43f0..60d98cbaceadf0 100644 --- a/packages/material-ui-icons/src/index.js +++ b/packages/material-ui-icons/src/index.js @@ -268,6 +268,7 @@ export { default as ApartmentOutlined } from './ApartmentOutlined'; export { default as ApartmentRounded } from './ApartmentRounded'; export { default as ApartmentSharp } from './ApartmentSharp'; export { default as ApartmentTwoTone } from './ApartmentTwoTone'; +export { default as Apple } from './Apple'; export { default as Apps } from './Apps'; export { default as AppsOutlined } from './AppsOutlined'; export { default as AppsRounded } from './AppsRounded'; @@ -1709,6 +1710,7 @@ export { default as ExtensionRounded } from './ExtensionRounded'; export { default as ExtensionSharp } from './ExtensionSharp'; export { default as ExtensionTwoTone } from './ExtensionTwoTone'; export { default as Face } from './Face'; +export { default as Facebook } from './Facebook'; export { default as FaceOutlined } from './FaceOutlined'; export { default as FaceRounded } from './FaceRounded'; export { default as FaceSharp } from './FaceSharp'; @@ -2502,6 +2504,7 @@ export { default as InsertPhotoOutlined } from './InsertPhotoOutlined'; export { default as InsertPhotoRounded } from './InsertPhotoRounded'; export { default as InsertPhotoSharp } from './InsertPhotoSharp'; export { default as InsertPhotoTwoTone } from './InsertPhotoTwoTone'; +export { default as Instagram } from './Instagram'; export { default as InvertColors } from './InvertColors'; export { default as InvertColorsOff } from './InvertColorsOff'; export { default as InvertColorsOffOutlined } from './InvertColorsOffOutlined'; @@ -2698,6 +2701,7 @@ export { default as LinkedCameraOutlined } from './LinkedCameraOutlined'; export { default as LinkedCameraRounded } from './LinkedCameraRounded'; export { default as LinkedCameraSharp } from './LinkedCameraSharp'; export { default as LinkedCameraTwoTone } from './LinkedCameraTwoTone'; +export { default as LinkedIn } from './LinkedIn'; export { default as LinkOff } from './LinkOff'; export { default as LinkOffOutlined } from './LinkOffOutlined'; export { default as LinkOffRounded } from './LinkOffRounded'; @@ -3692,6 +3696,7 @@ export { default as PinDropOutlined } from './PinDropOutlined'; export { default as PinDropRounded } from './PinDropRounded'; export { default as PinDropSharp } from './PinDropSharp'; export { default as PinDropTwoTone } from './PinDropTwoTone'; +export { default as Pinterest } from './Pinterest'; export { default as Place } from './Place'; export { default as PlaceOutlined } from './PlaceOutlined'; export { default as PlaceRounded } from './PlaceRounded'; @@ -3892,6 +3897,7 @@ export { default as RecordVoiceOverOutlined } from './RecordVoiceOverOutlined'; export { default as RecordVoiceOverRounded } from './RecordVoiceOverRounded'; export { default as RecordVoiceOverSharp } from './RecordVoiceOverSharp'; export { default as RecordVoiceOverTwoTone } from './RecordVoiceOverTwoTone'; +export { default as Reddit } from './Reddit'; export { default as Redeem } from './Redeem'; export { default as RedeemOutlined } from './RedeemOutlined'; export { default as RedeemRounded } from './RedeemRounded'; @@ -4897,6 +4903,7 @@ export { default as TapAndPlayOutlined } from './TapAndPlayOutlined'; export { default as TapAndPlayRounded } from './TapAndPlayRounded'; export { default as TapAndPlaySharp } from './TapAndPlaySharp'; export { default as TapAndPlayTwoTone } from './TapAndPlayTwoTone'; +export { default as Telegram } from './Telegram'; export { default as Terrain } from './Terrain'; export { default as TerrainOutlined } from './TerrainOutlined'; export { default as TerrainRounded } from './TerrainRounded'; @@ -5157,6 +5164,7 @@ export { default as TvOutlined } from './TvOutlined'; export { default as TvRounded } from './TvRounded'; export { default as TvSharp } from './TvSharp'; export { default as TvTwoTone } from './TvTwoTone'; +export { default as Twitter } from './Twitter'; export { default as Unarchive } from './Unarchive'; export { default as UnarchiveOutlined } from './UnarchiveOutlined'; export { default as UnarchiveRounded } from './UnarchiveRounded'; @@ -5447,6 +5455,7 @@ export { default as WeekendOutlined } from './WeekendOutlined'; export { default as WeekendRounded } from './WeekendRounded'; export { default as WeekendSharp } from './WeekendSharp'; export { default as WeekendTwoTone } from './WeekendTwoTone'; +export { default as WhatsApp } from './WhatsApp'; export { default as Whatshot } from './Whatshot'; export { default as WhatshotOutlined } from './WhatshotOutlined'; export { default as WhatshotRounded } from './WhatshotRounded'; @@ -5502,6 +5511,7 @@ export { default as WrapTextOutlined } from './WrapTextOutlined'; export { default as WrapTextRounded } from './WrapTextRounded'; export { default as WrapTextSharp } from './WrapTextSharp'; export { default as WrapTextTwoTone } from './WrapTextTwoTone'; +export { default as YouTube } from './YouTube'; export { default as YoutubeSearchedFor } from './YoutubeSearchedFor'; export { default as YoutubeSearchedForOutlined } from './YoutubeSearchedForOutlined'; export { default as YoutubeSearchedForRounded } from './YoutubeSearchedForRounded';