@artsy/palette-mobile 14.0.42 → 14.0.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -8,7 +8,7 @@ import { Flex } from "../Flex";
|
|
|
8
8
|
import { Text } from "../Text";
|
|
9
9
|
const RADIOBUTTON_SIZE = 20;
|
|
10
10
|
const DURATION = 150;
|
|
11
|
-
export const RadioButton = ({ accessibilityState, block, disabled, error, onPress, selected, subtitle, text, textVariant = "
|
|
11
|
+
export const RadioButton = ({ accessibilityState, block, disabled, error, onPress, selected, subtitle, text, textVariant = "sm-display", ...restProps }) => {
|
|
12
12
|
const { color, space } = useTheme();
|
|
13
13
|
const fontScale = PixelRatio.getFontScale();
|
|
14
14
|
const radioButtonSize = RADIOBUTTON_SIZE * fontScale;
|
package/package.json
CHANGED