import type { IconColorNames, IconNames } from "@jobber/design"; import React from "react"; import { View } from "react-native"; import { useStyles } from "./EmptyState.style"; import { Text } from "../Text"; import { Content } from "../Content"; import { Icon } from "../Icon"; import { Heading } from "../Heading"; import type { ButtonType } from "../Button"; import { Button } from "../Button"; interface Action { label: string; onPress: () => void; disabled?: boolean; } interface ButtonAction { readonly action?: Action; readonly type: ButtonType; } function ButtonAction({ action, type }: ButtonAction) { if (!action) return <>; return