Hiyve Components - v1.0.0
    Preparing search index...

    Props for the TakeScoreCard component.

    interface TakeScoreCardProps {
        actions?: ReactNode;
        colors?: Partial<TakeScoreCardColors>;
        compact?: boolean;
        labels?: Partial<TakeScoreCardLabels>;
        onBackToLatest?: () => void;
        onSave?: () => void;
        onTryAgain?: () => void;
        saved?: boolean;
        sx?: SxProps<Theme>;
        view: TakeResultView;
    }
    Index

    Properties

    actions?: ReactNode

    Buttons of your own in place of the usual row

    colors?: Partial<TakeScoreCardColors>
    compact?: boolean

    A smaller card, for a popup

    labels?: Partial<TakeScoreCardLabels>
    onBackToLatest?: () => void

    Shown for a take opened from history while there is a latest take to go back to

    onSave?: () => void

    Keep the take; the button shows when given

    onTryAgain?: () => void

    Have another go at the same piece; the button shows when given

    saved?: boolean

    The take is kept in history

    sx?: SxProps<Theme>

    MUI sx styling for the root element