You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
423 B
18 lines
423 B
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> |
|
); |
|
}
|
|
|