revert formatting changes

This commit is contained in:
Chris Woodley 2020-12-03 15:17:07 -05:00
parent 54f334e437
commit 3215645029

View File

@ -38,10 +38,10 @@ const defaultItemString = (
itemType: React.ReactNode, itemType: React.ReactNode,
itemString: string itemString: string
) => ( ) => (
<span> <span>
{itemType} {itemString} {itemType} {itemString}
</span> </span>
); );
const defaultLabelRenderer = ([label]: (string | number)[]) => ( const defaultLabelRenderer = ([label]: (string | number)[]) => (
<span>{label}:</span> <span>{label}:</span>
); );
@ -77,7 +77,7 @@ function checkLegacyTheming(theme: Theme | undefined, props: Props) {
(theme as StylingConfig)[ (theme as StylingConfig)[
deprecatedStylingMethodsMap[ deprecatedStylingMethodsMap[
name as keyof typeof deprecatedStylingMethodsMap name as keyof typeof deprecatedStylingMethodsMap
] ]
] = ({ style }, ...args) => ({ ] = ({ style }, ...args) => ({
style: { style: {