@rkosafo/cai.components
Version:
This package is under development and not ready for public use.
115 lines (114 loc) • 3.84 kB
TypeScript
export declare const ACTION_BUTTON_KINDS: {
readonly generic: {
readonly icon: "solar:verified-check-bold";
readonly iconBgColor: "bg-green-300";
readonly iconSize: 25;
readonly iconColor: "text-gray-800";
readonly label: "";
readonly subLabel: "";
readonly showBg: true;
readonly showArrow: false;
readonly showIconHover: true;
readonly moreHeight: false;
};
readonly enquiries: {
readonly icon: "entypo:chat";
readonly iconBgColor: "bg-orange-300";
readonly iconSize: 25;
readonly iconColor: "text-orange-800";
readonly label: "";
readonly subLabel: "";
readonly showBg: true;
readonly showArrow: false;
readonly showIconHover: true;
readonly moreHeight: false;
};
readonly accept: {
readonly icon: "ph:check-circle";
readonly iconBgColor: "bg-green-300";
readonly iconSize: 25;
readonly iconColor: "text-gray-800";
readonly label: "";
readonly subLabel: "";
readonly showBg: true;
readonly showArrow: false;
readonly showIconHover: true;
readonly moreHeight: false;
};
readonly approve: {
readonly icon: "ph:check-circle";
readonly iconBgColor: "bg-green-300";
readonly iconSize: 25;
readonly iconColor: "text-gray-800";
readonly label: "";
readonly subLabel: "";
readonly showBg: true;
readonly showArrow: false;
readonly showIconHover: true;
readonly moreHeight: false;
};
readonly reject: {
readonly icon: "ph:x-circle";
readonly iconBgColor: "bg-red-400";
readonly iconSize: 25;
readonly iconColor: "text-white";
readonly label: "";
readonly subLabel: "";
readonly showBg: true;
readonly showArrow: false;
readonly showIconHover: true;
readonly moreHeight: false;
};
readonly transfer: {
readonly icon: "mdi:file-sync";
readonly iconBgColor: "bg-sky-300";
readonly iconSize: 25;
readonly iconColor: "text-gray-800";
readonly label: "";
readonly subLabel: "";
readonly showBg: true;
readonly showArrow: false;
readonly showIconHover: true;
readonly moreHeight: false;
};
readonly recommendation: {
readonly icon: "material-symbols:recommend-outline";
readonly iconBgColor: "bg-yellow-300";
readonly iconSize: 25;
readonly iconColor: "text-gray-800";
readonly label: "";
readonly subLabel: "";
readonly showBg: true;
readonly showArrow: false;
readonly showIconHover: true;
readonly moreHeight: false;
};
readonly file: {
readonly icon: "ph:file-text";
readonly iconBgColor: "bg-gray-200";
readonly iconSize: 25;
readonly iconColor: "text-gray-800";
readonly label: "";
readonly subLabel: "";
readonly showBg: true;
readonly showArrow: false;
readonly showIconHover: true;
readonly moreHeight: false;
};
readonly form: {
readonly icon: "game-icons:archive-register";
readonly iconBgColor: "bg-teal-100";
readonly iconSize: 25;
readonly iconColor: "text-blue-800";
readonly label: "";
readonly subLabel: "";
readonly showBg: true;
readonly showArrow: false;
readonly showIconHover: true;
readonly moreHeight: false;
};
};
import { type ActionButtonProps } from '../../index.js';
declare const ActionButton: import("svelte").Component<ActionButtonProps, {}, "">;
type ActionButton = ReturnType<typeof ActionButton>;
export default ActionButton;