Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ jobs:
storybookBaseDir: ./packages/storybook
exitOnceUploaded: true # Do not wait for test results
exitZeroOnChanges: true # Option to prevent the workflow from failing
forceRebuild: true # Always publish build so example app only changes are pushed

# Validate (Lint and Test)
- run: npm run validate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { SubContainer } from './SubContainer';

export function OverviewSection(): React.JSX.Element {
return (
<SubContainer label="Overview">
<SubContainer>
Explore the components below to see the Nimble components in action.
See the <NimbleAnchor href="https://nimble.ni.dev/storybook/">Nimble component docs</NimbleAnchor> for additional usage details.
Navigate to the <NimbleAnchor href="../index.html">parent page</NimbleAnchor>.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import type { ReactNode } from 'react';

interface SubContainerProp {
label: string;
label?: string;
children?: ReactNode;
}

export function SubContainer({ label, children }: SubContainerProp): React.JSX.Element {
return (
<>
<div className="sub-container">
<div className="container-label">{label}</div>
{label && <div className="container-label">{label}</div>}
<div>{children}</div>
</div>
</>
Expand Down