Add WIP external action buttons
This commit is contained in:
18
web/components/action-buttons/ExternalActionButtonRow.tsx
Normal file
18
web/components/action-buttons/ExternalActionButtonRow.tsx
Normal file
@@ -0,0 +1,18 @@
|
||||
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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user