"use client" import Body from "@scandic-hotels/design-system/Body" import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { OldDSButton as Button } from "@scandic-hotels/design-system/OldDSButton" import styles from "./counter.module.css" type CounterProps = { count: number handleOnIncrease: () => void handleOnDecrease: () => void disableIncrease: boolean disableDecrease: boolean } export default function Counter({ count, handleOnIncrease, handleOnDecrease, disableIncrease, disableDecrease, }: CounterProps) { return (
{count}
) }