-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
With commits: Merge pull request #20386 from akeneo/dsm-update-2024-01-10 DSM Update Merge pull request #20386 from akeneo/dsm-update-2024-01-10
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,5 @@ | ||
import React from 'react'; | ||
import { Override } from '../../shared'; | ||
declare type AvatarProps = Override<React.HTMLAttributes<HTMLSpanElement>, { | ||
username: string; | ||
firstName: string; | ||
lastName: string; | ||
avatarUrl?: string; | ||
size?: 'default' | 'big'; | ||
}>; | ||
import { AvatarProps } from './types'; | ||
declare const Avatar: ({ username, firstName, lastName, avatarUrl, size, ...rest }: AvatarProps) => React.JSX.Element; | ||
export { Avatar }; | ||
export type { AvatarProps }; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { Override } from '../../shared'; | ||
import React from 'react'; | ||
export declare type User = { | ||
username: string; | ||
firstName: string; | ||
lastName: string; | ||
avatarUrl?: string; | ||
}; | ||
export declare type AvatarProps = Override<React.HTMLAttributes<HTMLSpanElement>, User & { | ||
size?: 'default' | 'big'; | ||
}>; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
import React from 'react'; | ||
declare type SurtitleProps = { | ||
label: string; | ||
children?: React.ReactNode; | ||
}; | ||
declare const Surtitle: React.FC<SurtitleProps>; | ||
export { Surtitle }; |