mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
16 lines
313 B
TypeScript
16 lines
313 B
TypeScript
import React from 'react';
|
|
|
|
type Props = {
|
|
text: string;
|
|
};
|
|
|
|
export const PillDivider = (props: Props) => {
|
|
return (
|
|
<div className="panel-text-divider">
|
|
<div className="panel-text-divider-line" />
|
|
<span>{props.text}</span>
|
|
<div className="panel-text-divider-line" />
|
|
</div>
|
|
);
|
|
};
|