import { trigger, state, style, transition, animate } from '@angular/core'; export const basicAnimations = [ trigger('fadeInOut', [ transition('void => *', [ style({ opacity: 0, }), animate('0.1s ease-in') ]), transition('* => void', [ animate('0.1s ease-out', style({ opacity: 0, })) ]) ]) ];