Skip to content

Commit

Permalink
chore: export types
Browse files Browse the repository at this point in the history
  • Loading branch information
frazarshad committed May 30, 2024
1 parent 8912208 commit 2de60fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/react-components/src/lib/components/NoticeBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ import Megaphone from '../icons/Megaphone';
import { useState } from 'react';
import { NetworkNotice, activeNotices } from '../utils/networkConfig';

export const NoticeBanner = ({
notices,
}: {
export type NoticeBannerProps = {
notices: Array<NetworkNotice>;
}) => {
};

export const NoticeBanner = ({ notices }: NoticeBannerProps) => {
const [isDismissed, setIsDismissed] = useState(false);
const bannerContent = activeNotices(notices).join(' • ');
const isVisible =
Expand Down
1 change: 1 addition & 0 deletions packages/react-components/src/lib/utils/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from './leapElementsClient';
export * from './networkConfig';

0 comments on commit 2de60fb

Please sign in to comment.