package com.anytypeio.anytype.feature_object_type.ui.create

import com.anytypeio.anytype.presentation.objects.ObjectIcon

sealed class UiTypeSetupTitleAndIconState {

    data object Hidden : UiTypeSetupTitleAndIconState()

    sealed class Visible : UiTypeSetupTitleAndIconState() {

        data class CreateNewType(
            val icon: ObjectIcon.TypeIcon.Default,
            val initialTitle: String = "",
            val initialPlural: String = ""
        ) : Visible()

        data class EditType(
            val icon: ObjectIcon.TypeIcon,
            val initialTitle: String?,
            val initialPlural: String?
        ) : Visible()
    }
}