Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | 37x | import React from "react";
import SlackSetupInstructions from "main/components/Settings/SlackSetupInstructions";
import SlackTokenForm from "main/components/Settings/SlackTokenForm";
export default function SlackCourseSettings({
courseId,
submitAction,
errorMessage,
testIdPrefix = "SlackCourseSettings",
}) {
return (
<div className="card mt-4" data-testid={`${testIdPrefix}-slackForm`}>
<div className="card-body">
<h5 className="card-title">Slack Integration Settings</h5>
<SlackSetupInstructions testIdPrefix={`${testIdPrefix}-slack`} />
<SlackTokenForm
submitAction={submitAction}
courseId={courseId}
errorMessage={errorMessage}
testIdPrefix={`${testIdPrefix}-slack`}
/>
</div>
</div>
);
}
|