This commit is contained in:
Nathan Bierema 2021-10-21 14:09:26 -04:00
parent c7f7ace309
commit 02af835c24

View File

@ -126,15 +126,15 @@ test('createStyling (custom)', () => {
let customStyling = styling({ let customStyling = styling({
testClass: 'customClass', testClass: 'customClass',
testStyle: { height: 0 }, testStyle: { height: 0 },
testFunc: (styling: Styling, arg: string) => ({ testFunc: (styling: Styling, arg) => ({
className: `${styling.className!} customClass--${arg}`, className: `${styling.className!} customClass--${arg as string}`,
style: { style: {
...styling.style, ...styling.style,
border: 0, border: 0,
}, },
}), }),
testFuncNoStyle: (styling: Styling, arg: string) => ({ testFuncNoStyle: (styling: Styling, arg) => ({
className: `${styling.className!} customClass--${arg}`, className: `${styling.className!} customClass--${arg as string}`,
style: { style: {
...styling.style, ...styling.style,
border: 0, border: 0,