owncast/web/components/action-buttons/ExternalActionButtonRow.tsx
2022-05-05 15:01:23 -07:00

18 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>
);
}