Skip to content

Commit 208f9e2

Browse files
committed
fix references
1 parent 00c342f commit 208f9e2

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

examples/flyout_system/public/components/_flyout_with_component.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ const FlyoutSessionFromComponents: React.FC<FlyoutSessionFromComponents> = React
179179

180180
FlyoutSessionFromComponents.displayName = 'FlyoutSessionFromComponents';
181181

182-
export const FlyoutFromComponents: React.FC = () => {
182+
export const FlyoutWithComponent: React.FC = () => {
183183
return (
184184
<EuiDescriptionList
185185
type="column"
@@ -202,4 +202,4 @@ export const FlyoutFromComponents: React.FC = () => {
202202
);
203203
};
204204

205-
FlyoutFromComponents.displayName = 'FlyoutFromComponents';
205+
FlyoutWithComponent.displayName = 'FlyoutFromComponents';

examples/flyout_system/public/components/_flyout_with_overlays.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ const FlyoutSession: React.FC<FlyoutSessionProps> = React.memo((props) => {
164164

165165
FlyoutSession.displayName = 'FlyoutSession';
166166

167-
export const FlyoutFromOverlays: React.FC<FlyoutFromOverlaysProps> = (props) => {
167+
export const FlyoutWithOverlays: React.FC<FlyoutFromOverlaysProps> = (props) => {
168168
const { overlays, rendering } = props;
169169

170170
return (
@@ -212,4 +212,4 @@ export const FlyoutFromOverlays: React.FC<FlyoutFromOverlaysProps> = (props) =>
212212
);
213213
};
214214

215-
FlyoutFromOverlays.displayName = 'FlyoutFromOverlays';
215+
FlyoutWithOverlays.displayName = 'FlyoutFromOverlays';

examples/flyout_system/public/components/app.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ import type { NavigationPublicPluginStart } from '@kbn/navigation-plugin/public'
2222
import { BrowserRouter as Router } from '@kbn/shared-ux-router';
2323
import { useHistory, useLocation } from 'react-router-dom';
2424

25-
import { FlyoutFromOverlays } from '_flyout_with_component';
26-
import { FlyoutFromComponents } from './_flyout_without_isopen';
25+
import { FlyoutWithOverlays } from './_flyout_with_overlays';
26+
import { FlyoutWithComponent } from './_flyout_with_component';
2727

2828
interface AppDeps {
2929
basename: string;
@@ -69,9 +69,9 @@ const AppContent: React.FC<AppContentDeps> = ({ overlays, rendering }) => {
6969
const renderTabContent = () => {
7070
switch (selectedTabId) {
7171
case FLYOUT_FROM_COMPONENTS:
72-
return <FlyoutFromComponents />;
72+
return <FlyoutWithComponent />;
7373
case FLYOUT_WITH_OVERLAYS:
74-
return <FlyoutFromOverlays overlays={overlays} rendering={rendering} />;
74+
return <FlyoutWithOverlays overlays={overlays} rendering={rendering} />;
7575
default:
7676
return null;
7777
}

0 commit comments

Comments
 (0)