@shopware-ag/meteor-component-library
Version:
The meteor component library is a Vue component library developed by Shopware. It is based on the [Meteor Design System](https://shopware.design/).
17 lines (16 loc) • 402 B
TypeScript
interface SortElements {
id: string;
data: Record<string, unknown>;
}
/**
* Sorts the elements by their after id property chain
*
* @param {array} elements
* @param {string} property
* @returns {array}
*/
export declare function afterSort(elements: SortElements[], property?: string): SortElements[];
declare const _default: {
afterSort: typeof afterSort;
};
export default _default;