We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3adcf87 + 5835642 commit e5bf90bCopy full SHA for e5bf90b
.changeset/six-horses-beam.md
@@ -0,0 +1,5 @@
1
+---
2
+'polaris-glints': minor
3
4
+
5
+IndexTable: TableCell sticky
polaris-react/src/components/IndexTable/components/Cell/Cell.tsx
@@ -7,17 +7,20 @@ export interface CellProps {
7
children?: ReactNode;
8
className?: string;
9
flush?: boolean;
10
+ sticky?: boolean;
11
}
12
13
export const Cell = memo(function Cell({
14
children,
15
className,
16
flush,
17
+ sticky,
18
}: CellProps) {
19
const cellClassName = classNames(
20
21
styles.TableCell,
22
flush && styles['TableCell-flush'],
23
+ sticky && styles['TableCell-sticky'],
24
);
25
26
return <td className={cellClassName}>{children}</td>;
0 commit comments