@props([ 'periods' => ['daily', 'weekly', 'monthly'], 'default' => 'daily', 'onPeriodChange' => null ])