-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
74 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import React from 'react'; | ||
import { | ||
Flex as DHCFlex, | ||
FlexProps as DHCFlexProps, | ||
} from '@deephaven/components'; | ||
|
||
import classNames from 'classnames'; | ||
|
||
export function Flex({ | ||
UNSAFE_className, | ||
...restProps | ||
}: DHCFlexProps): JSX.Element { | ||
return ( | ||
<DHCFlex | ||
UNSAFE_className={classNames('dh-flex', UNSAFE_className)} | ||
// eslint-disable-next-line react/jsx-props-no-spreading | ||
{...restProps} | ||
/> | ||
); | ||
} | ||
|
||
export default Flex; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import React from 'react'; | ||
import { | ||
Grid as DHCGrid, | ||
GridProps as DHCGridProps, | ||
} from '@deephaven/components'; | ||
|
||
import classNames from 'classnames'; | ||
|
||
export function Grid({ | ||
UNSAFE_className, | ||
...restProps | ||
}: DHCGridProps): JSX.Element { | ||
return ( | ||
<DHCGrid | ||
UNSAFE_className={classNames('dh-grid', UNSAFE_className)} | ||
// eslint-disable-next-line react/jsx-props-no-spreading | ||
{...restProps} | ||
/> | ||
); | ||
} | ||
|
||
export default Grid; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+43.2 KB
tests/ui.spec.ts-snapshots/UI-flex-components-flex-20-1-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+64.5 KB
tests/ui.spec.ts-snapshots/UI-flex-components-flex-20-1-firefox-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+44.5 KB
tests/ui.spec.ts-snapshots/UI-flex-components-flex-20-1-webkit-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+14.9 KB
tests/ui.spec.ts-snapshots/UI-flex-components-flex-21-1-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+23.1 KB
tests/ui.spec.ts-snapshots/UI-flex-components-flex-21-1-firefox-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+13.9 KB
tests/ui.spec.ts-snapshots/UI-flex-components-flex-21-1-webkit-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.