--- interface Props { amount: number } const { amount } = Astro.props; ---
{ new Array(amount).fill(0).map((_, index) => (
{ index + 1 }
)) }