interface IInput {
    data: {
        id: string;
        stars: number;
        text?: null | string;
    };
}

Properties

Properties

data: {
    id: string;
    stars: number;
    text?: null | string;
}

Type declaration

  • id: string

    Идентификатор отзыва.

  • stars: number

    Оценка от 1 до 5.

  • Optional text?: null | string

    Текст отзыва.