Edit distribution lists via story settings menu
This commit is contained in:
parent
9986d10947
commit
e321e1fea8
42 changed files with 2403 additions and 102 deletions
21
ts/components/StoryDistributionListName.tsx
Normal file
21
ts/components/StoryDistributionListName.tsx
Normal file
|
@ -0,0 +1,21 @@
|
|||
// Copyright 2022 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import React from 'react';
|
||||
|
||||
import type { LocalizerType } from '../types/Util';
|
||||
import { getStoryDistributionListName } from '../types/Stories';
|
||||
|
||||
type PropsType = {
|
||||
i18n: LocalizerType;
|
||||
id: string;
|
||||
name: string;
|
||||
};
|
||||
|
||||
export const StoryDistributionListName = ({
|
||||
i18n,
|
||||
id,
|
||||
name,
|
||||
}: PropsType): JSX.Element => {
|
||||
return <>{getStoryDistributionListName(i18n, id, name)}</>;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue