Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

Commit 7c3272e

Browse files
committed
fix TS error
1 parent 333c9a8 commit 7c3272e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/react/src/components/Image/Image.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import {
55
ImageBehaviorProps,
66
} from '@fluentui/accessibility'
77
import {
8+
ComposableProps,
89
getElementType,
910
getUnhandledProps,
1011
useAccessibility,
@@ -24,7 +25,7 @@ import {
2425
withSafeTypeForAs,
2526
} from '../../types'
2627

27-
export interface ImageProps extends UIComponentProps, ImageBehaviorProps {
28+
export interface ImageProps extends UIComponentProps, ImageBehaviorProps, ComposableProps {
2829
/** Alternative text. */
2930
alt?: string
3031

@@ -60,6 +61,7 @@ const Image: React.FC<WithAsProp<ImageProps>> & FluentComponentStaticProps<Image
6061
variables,
6162
} = props
6263
const context: ProviderContextPrepared = React.useContext(ThemeContext)
64+
6365
const compose = useComposedConfig(props)
6466
const getA11Props = useAccessibility(accessibility, {
6567
debugName: Image.displayName,

0 commit comments

Comments
 (0)