mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
19 lines
423 B
TypeScript
19 lines
423 B
TypeScript
import { ExternalAction } from '../interfaces/external-action.interface';
|
|
import ExternalActionButton from './ExternalActionButton';
|
|
|
|
interface Props {
|
|
actions: ExternalAction[];
|
|
}
|
|
|
|
export default function ExternalActionButtonRow(props: Props) {
|
|
const { actions } = props;
|
|
|
|
return (
|
|
<div>
|
|
{actions.map(action => (
|
|
<ExternalActionButton key={action.id} action={action} />
|
|
))}
|
|
</div>
|
|
);
|
|
}
|