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.
1 parent ca95e82 commit 9c7c817Copy full SHA for 9c7c817
src/components/ReboundSection.tsx
@@ -7,7 +7,7 @@ type Props = {
7
bottomRebound?: number;
8
height: number;
9
bottomHeight?: number;
10
- primaryColor: string;
+ primaryColor?: string;
11
position?: 'top' | 'bottom' | 'both';
12
};
13
@@ -23,7 +23,7 @@ export function ReboundSection({
23
...props
24
}: Props & HTMLProps<HTMLElement>) {
25
const baseStyles = css`
26
- background-color: ${primaryColor};
+ background-color: ${primaryColor ?? '#000000'};
27
`;
28
let styles: SerializedStyles;
29
0 commit comments