fix(react): updating icon type and add caret to internal icons (#20216)

This commit is contained in:
Ely Lucas
2020-01-16 09:49:32 -07:00
committed by GitHub
parent ad96c462a6
commit dc78f98153
2 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,7 @@
import { defineCustomElements } from '@ionic/core/loader';
import { addIcons } from 'ionicons';
import { arrowBackSharp, chevronBack, chevronForward, closeCircle, closeSharp, menuOutline, menuSharp, reorderThreeOutline, reorderTwoSharp, searchOutline, searchSharp } from 'ionicons/icons';
import { arrowBackSharp, caretBackSharp, chevronBack, chevronForward, closeCircle, closeSharp, menuOutline, menuSharp, reorderThreeOutline, reorderTwoSharp, searchOutline, searchSharp } from 'ionicons/icons';
export { AlertButton, AlertInput, setupConfig } from '@ionic/core';
export * from './proxies';
@ -31,6 +31,7 @@ export { RouterDirection } from './hrefprops';
// Icons that are used by internal components
addIcons({
'arrow-back-sharp': arrowBackSharp,
'caret-back-sharp': caretBackSharp,
'chevron-back': chevronBack,
'chevron-forward': chevronForward,
'close-circle': closeCircle,