2021-04-21 16:31:12 +00:00
|
|
|
// Copyright 2021 Signal Messenger, LLC
|
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
2021-10-26 19:15:33 +00:00
|
|
|
import type { ReactNode } from 'react';
|
|
|
|
import React, { forwardRef } from 'react';
|
2021-04-21 16:31:12 +00:00
|
|
|
|
|
|
|
const CLASS_NAME = 'module-TimelineWarnings';
|
|
|
|
|
|
|
|
type PropsType = {
|
|
|
|
children: ReactNode;
|
|
|
|
};
|
|
|
|
|
|
|
|
export const TimelineWarnings = forwardRef<HTMLDivElement, PropsType>(
|
|
|
|
({ children }, ref) => (
|
|
|
|
<div className={CLASS_NAME} ref={ref}>
|
|
|
|
{children}
|
|
|
|
</div>
|
|
|
|
)
|
|
|
|
);
|