src/components/gallery.tsx
Function getItem
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
getItem(record: Record, index: number, list: Record[]) {
const { onPicked } = this.props
let isPicked = this.isPicked(record.id)
let delay = Math.max(0, itemAnimationDelay(index) - this.offset)