Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dailydotdev/apps
/ sizeClassMap
Function
sizeClassMap
packages/shared/src/components/buttons/Button.tsx:92–93 ·
view source on GitHub ↗
(size: ButtonSize, iconOnly: boolean)
Source
from the content-addressed store, hash-verified
90
};
91
92
const sizeClassMap = (size: ButtonSize, iconOnly: boolean): string =>
93
iconOnly ? IconOnlySizeToClassName[size] : SizeToClassName[size];
94
95
const horizontalPaddingClass = (
96
size: ButtonSize,
Callers
1
ButtonComponent
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected