signal-desktop/ts/components/conversation/TimelineWarnings.tsx

22 lines
489 B
TypeScript
Raw Normal View History

2022-03-09 16:44:57 -06:00
// Copyright 2021 Signal Messenger, LLC
2021-04-21 11:31:12 -05:00
// SPDX-License-Identifier: AGPL-3.0-only
2022-03-09 16:44:57 -06:00
import type { ReactNode } from 'react';
import React, { forwardRef } from 'react';
2021-04-21 11:31:12 -05:00
const CLASS_NAME = 'module-TimelineWarnings';
2022-03-09 16:44:57 -06:00
type PropsType = {
children: ReactNode;
};
export const TimelineWarnings = forwardRef<HTMLDivElement, PropsType>(
2022-11-17 16:45:19 -08:00
function TimelineWarningsInner({ children }, ref) {
return (
<div className={CLASS_NAME} ref={ref}>
{children}
</div>
);
}
2021-04-21 11:31:12 -05:00
);