Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public render(): JSX.Element {
const { numberOfFaces, personaSize } = this.state;
const facepileProps: IFacepileProps = {
personaSize: personaSize,
personas: facepilePersonas.slice(0, numberOfFaces),
overflowPersonas: facepilePersonas.slice(numberOfFaces),
getPersonaProps: (persona: IFacepilePersona) => {
return {
imageShouldFadeIn: this.state.imagesFadeIn,
presence: this._personaPresence(persona.personaName!)
};
},
ariaDescription: 'To move through the items use left and right arrow keys.'
};
return (
<div>
<div>
</div></div>
public render(): JSX.Element {
const { numberOfFaces, personaSize } = this.state;
const facepileProps: IFacepileProps = {
personaSize: personaSize,
personas: facepilePersonas.slice(0, numberOfFaces),
overflowPersonas: facepilePersonas.slice(numberOfFaces),
getPersonaProps: (persona: IFacepilePersona) => {
return {
imageShouldFadeIn: this.state.imagesFadeIn,
presence: this._personaPresence(persona.personaName!)
};
},
ariaDescription: 'To move through the items use left and right arrow keys.'
};
return (
<div>
<div>
</div></div>