()
| 204 | } |
| 205 | |
| 206 | export const controlFont = () => |
| 207 | ({ |
| 208 | default: 'ui', |
| 209 | size: { |
| 210 | XS: 'ui-xs', |
| 211 | S: 'ui-sm', |
| 212 | L: 'ui-lg', |
| 213 | XL: 'ui-xl' |
| 214 | } |
| 215 | }) as const; |
| 216 | |
| 217 | export const controlSize = (size: 'sm' | 'md' = 'md'): typeof controlSizeM | typeof controlSizeS => |
| 218 | size === 'sm' ? controlSizeS : controlSizeM; |
no outgoing calls
no test coverage detected