This commit is contained in:
Nathan Bierema 2021-10-21 14:06:36 -04:00
parent 203d49053d
commit c7f7ace309

View File

@ -70,8 +70,8 @@ const getStylingFromBase16 = (base16: Base16Theme): StylingConfig => ({
testStyle: { testStyle: {
color: base16.base00, color: base16.base00,
}, },
testFunc: ({ style }, arg: string) => ({ testFunc: ({ style }, arg) => ({
className: `testClass--${arg}`, className: `testClass--${arg as string}`,
style: { style: {
...style, ...style,
width: 0, width: 0,
@ -84,8 +84,8 @@ const getStylingFromBase16 = (base16: Base16Theme): StylingConfig => ({
additionalStyle: { additionalStyle: {
border: 0, border: 0,
}, },
testFuncNoStyle: (_, arg: string) => ({ testFuncNoStyle: (_, arg) => ({
className: `testClass--${arg}`, className: `testClass--${arg as string}`,
}), }),
}); });