Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit 53f551d

Browse files
committed
fix(system): fix chakraProps typings
1 parent 2449f4d commit 53f551d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/system/src/chakra.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import { css as _css, CSSObject } from '@emotion/css'
2020
import { extractStyleAttrs } from './system.attrs'
2121
import { domElements, DOMElements } from './system.utils'
2222
import { useTheme } from './composables/use-chakra'
23+
import { SNAO } from '@chakra-ui/vue-utils'
2324

2425
interface StyleResolverProps extends SystemProps {
2526
__css?: SystemStyleObject
@@ -50,7 +51,7 @@ const chakraProps = {
5051
__css: Object as PropType<StyleResolverProps['__css']>,
5152
sx: Object as PropType<StyleResolverProps['sx']>,
5253
css: Object as PropType<StyleResolverProps['css']>,
53-
noOfLines: Number as PropType<StyleResolverProps['noOfLines']>,
54+
noOfLines: SNAO as PropType<StyleResolverProps['noOfLines']>,
5455
baseStyle: Object as PropType<StyleResolverProps['baseStyle']>,
5556
isTruncated: Boolean as PropType<StyleResolverProps['isTruncated']>,
5657
layerStyle: String as PropType<StyleResolverProps['layerStyle']>,

0 commit comments

Comments
 (0)