import { compare } from '@ember/utils'; import { IObject } from '@nacho-ui/core/types/utils/generics'; /** * Configs that can be passed for each header to help better render based on configurations that we * can customize */ export interface NachoTableHeaderConfig { // This would be the display title for each column title?: string; // This is the class that would be applied to the header cell specifically className?: string; // This is the component path to render in the cell for the header of this specific column component?: string; } /** * Configs that can be passed based on consumer preference for using yielded blocked components vs * relying on configurations. Default of all values is presumed to be false. */ export interface NachoTableBlockConfigs { header?: boolean; body?: boolean; footer?: boolean; } /** * Configs that can be passed based on consumer preference for custom rows. */ export interface NachoTableCustomRowConfig { // If we should replace the whole row with a corresponding component provided by the consumer. Takes // priority over other configurations component?: string; // Class to apply to the