({
isMode,
theme,
}: Omit<BaseProps, 'disabled'>)
| 169 | }; |
| 170 | |
| 171 | const getButtonBorderWidth = ({ |
| 172 | isMode, |
| 173 | theme, |
| 174 | }: Omit<BaseProps, 'disabled'>) => { |
| 175 | if (theme.isV3) { |
| 176 | if (isMode('outlined')) { |
| 177 | return 1; |
| 178 | } |
| 179 | } |
| 180 | |
| 181 | if (isMode('outlined')) { |
| 182 | return StyleSheet.hairlineWidth; |
| 183 | } |
| 184 | |
| 185 | return 0; |
| 186 | }; |
| 187 | |
| 188 | export const getButtonColors = ({ |
| 189 | theme, |
no test coverage detected
searching dependent graphs…