Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
11 lines
No EOL
324 B
Text
11 lines
No EOL
324 B
Text
import collectSiblings from './collectSiblings';
|
|
/**
|
|
* Collects all next sibling elements of an element until a given selector is matched.
|
|
*
|
|
* @param node the referene node
|
|
* @param selector the selector to match
|
|
*/
|
|
|
|
export default function nextUntil(node, selector) {
|
|
return collectSiblings(node, node, selector);
|
|
} |