Changeset + report

Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
This commit is contained in:
Charles de Dreuille
2025-03-23 14:58:57 +00:00
parent bbab6b6d9b
commit 5e80f0ba7e
3 changed files with 8 additions and 3 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/canon': patch
---
Fix types on the Icon component.
+3 -2
View File
@@ -13,6 +13,7 @@ import { default as React_2 } from 'react';
import * as React_3 from 'react';
import { ReactNode } from 'react';
import { RefAttributes } from 'react';
import type { RemixiconComponentType } from '@remixicon/react';
import { ScrollArea as ScrollArea_2 } from '@base-ui-components/react/scroll-area';
import { Tooltip as Tooltip_2 } from '@base-ui-components/react/tooltip';
@@ -636,7 +637,7 @@ export interface IconContextProps {
}
// @public (undocumented)
export type IconMap = Partial<Record<IconNames, React.ComponentType>>;
export type IconMap = Partial<Record<IconNames, RemixiconComponentType>>;
// @public (undocumented)
export type IconNames =
@@ -711,7 +712,7 @@ export interface IconProviderProps {
// (undocumented)
children?: ReactNode;
// (undocumented)
overrides?: Partial<Record<IconNames, React.ComponentType>>;
overrides?: Partial<Record<IconNames, RemixiconComponentType>>;
}
// @public (undocumented)
@@ -18,7 +18,6 @@ import React from 'react';
import type { Meta, StoryObj } from '@storybook/react';
import { Heading } from './Heading';
import { Flex } from '../Flex';
import { Text } from '../Text';
const meta = {
title: 'Components/Heading',