Π·Π΅ΡΠΊΠ°Π»ΠΎ ΠΈΠ· https://github.com/microsoft/electionguard-tracking-site.git
π. Fix Card Section Warning
This commit is contained in:
Π ΠΎΠ΄ΠΈΡΠ΅Π»Ρ
5e154c8a51
ΠΠΎΠΌΠΌΠΈΡ
322ddce83f
|
@ -1,6 +1,6 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { useTheme } from '@fluentui/react-theme-provider';
|
import { useTheme } from '@fluentui/react-theme-provider';
|
||||||
import { Card } from '@uifabric/react-cards';
|
import { Card, CardSection } from '@uifabric/react-cards';
|
||||||
|
|
||||||
export interface LargeCardProps {
|
export interface LargeCardProps {
|
||||||
alignToStart?: boolean;
|
alignToStart?: boolean;
|
||||||
|
@ -21,7 +21,7 @@ const LargeCard: React.FunctionComponent<LargeCardProps> = ({ alignToStart, chil
|
||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{children || null}
|
<CardSection>{children || null}</CardSection>
|
||||||
</Card>
|
</Card>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
ΠΠ°Π³ΡΡΠ·ΠΊΠ°β¦
Π‘ΡΡΠ»ΠΊΠ° Π² Π½ΠΎΠ²ΠΎΠΉ Π·Π°Π΄Π°ΡΠ΅