(props: DrawerProps<T>)
| 59 | } |
| 60 | |
| 61 | function isControlled<T extends readOnlyTab>(props: DrawerProps<T>): props is DrawerProps<T> { |
| 62 | return 'activeKey' in props; |
| 63 | } |
| 64 | |
| 65 | const getWidthFromSize = (size: DrawerProps['size']) => { |
| 66 | if (size === 'small') return `${(DrawerSize.Small / 1440) * 100}%`; |
no outgoing calls
no test coverage detected