export default function ClangGCC(props: ClangGCCProps) {
const { projectKey, onStepValidationChange } = props;
- const [os, setOs] = React.useState<OSs | undefined>();
+ const [os, setOs] = React.useState<OSs | undefined>(OSs.Linux);
const host = getHostUrl();
const codeSnippetDownload: OsConstant = {
highlightPrefixKeys={codeSnippetDownload[os].highlightScriptKey}
highlightKeys={['task', 'inline']}
/>
- <CodeSnippet
- className="sw-px-4 sw-py-6"
- snippet={codeSnippetDownload[os].script}
- />
+ <CodeSnippet className="sw-p-6" snippet={codeSnippetDownload[os].script} />
</UnorderedListItem>
</UnorderedList>
</NumberedListItem>
highlightKeys={['build_wrapper']}
/>
<CodeSnippet
- className="sw-px-4 sw-py-6"
+ className="sw-p-6"
isOneLine
snippet={codeSnippetDownload[os].scriptBuild}
/>