// Copyright 2025 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef IOS_CHROME_BROWSER_CONTENT_SUGGESTIONS_MAGIC_STACK_UI_MAGIC_STACK_CUSTOM_LAYOUT_H_
#define IOS_CHROME_BROWSER_CONTENT_SUGGESTIONS_MAGIC_STACK_UI_MAGIC_STACK_CUSTOM_LAYOUT_H_

#import <UIKit/UIKit.h>

// Custom layout for the magic stack. Used because some cells contain
// UIVisualEffectView, and the default animation for inserting/removing cells
// changes the cell's alpha, which does not work with UIVisualEffectView.
@interface MagicStackCustomLayout : UICollectionViewCompositionalLayout

@end

#endif  // IOS_CHROME_BROWSER_CONTENT_SUGGESTIONS_MAGIC_STACK_UI_MAGIC_STACK_CUSTOM_LAYOUT_H_
