Skip to content

Commit 80e8ae7

Browse files
committed
chore: fix next build error
Signed-off-by: Jakub Freisler <[email protected]>
1 parent 30edf36 commit 80e8ae7

File tree

1 file changed

+1
-3
lines changed
  • apps/preview/next/pages/showcases/Alert

1 file changed

+1
-3
lines changed

apps/preview/next/pages/showcases/Alert/Alert.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { ShowcasePageLayout } from '../../showcases';
21
// #region source
32
import type { PropsWithStyle } from '@storefront-ui/react';
43
import { type PropsWithChildren, forwardRef } from 'react';
@@ -17,7 +16,7 @@ const variantClasses = {
1716
neutral: 'border-neutral-200 bg-neutral-100',
1817
};
1918

20-
export interface AlertProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, PropsWithStyle, PropsWithChildren {
19+
export interface AlertProps extends React.HTMLAttributes<HTMLDivElement>, PropsWithStyle, PropsWithChildren {
2120
size?: keyof typeof sizeClasses;
2221
variant?: keyof typeof variantClasses;
2322
}
@@ -44,4 +43,3 @@ const Alert = forwardRef<HTMLDivElement, AlertProps>((props, ref) => {
4443

4544
export default Alert;
4645
// #endregion source
47-
Alert.getLayout = ShowcasePageLayout;

0 commit comments

Comments
 (0)