Cancel quote button appearing in all statuses (#37742)
This commit is contained in:
4 files changed
+53
-9
No files matched your search
@@ -15,6 +15,8 @@ import { LinkedDisplayName } from '../display_name';
|
||||
import { RelativeTimestamp } from '../relative_timestamp';
|
||||
import { VisibilityIcon } from '../visibility_icon';
|
||||
|
||||
import type { StatusProps } from './types';
|
||||
|
||||
export interface StatusHeaderProps {
|
||||
status: Status;
|
||||
account?: Account;
|
||||
@@ -25,7 +27,10 @@ export interface StatusHeaderProps {
|
||||
onHeaderClick?: MouseEventHandler<HTMLDivElement>;
|
||||
}
|
||||
|
||||
export type StatusHeaderRenderFn = (args: StatusHeaderProps) => ReactNode;
|
||||
export type StatusHeaderRenderFn = (
|
||||
args: StatusHeaderProps,
|
||||
statusProps?: StatusProps,
|
||||
) => ReactNode;
|
||||
|
||||
export const StatusHeader: FC<StatusHeaderProps> = ({
|
||||
status,
|
||||
|
||||
Reference in new issue
Block a user