Skip to content

Commit

Permalink
feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
salazarm committed Oct 6, 2023
1 parent d764b09 commit d321186
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export function ifPlural(count: number | undefined | null, string: string) {
return count === 1 ? '' : string;
}
1 change: 1 addition & 0 deletions js_modules/dagster-ui/packages/ui-components/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export * from './components/useViewport';
export * from './components/UnstyledButton';
export * from './components/StyledRawCodeMirror';
export * from './components/useDelayedState';
export * from './components/ifPlural';

// Global font styles, exported as styled-component components to render in
// your app tree root. E.g. <GlobalInconsolata />
Expand Down

0 comments on commit d321186

Please sign in to comment.