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