1 | import { ViewStyle } from 'react-native';
|
2 | import type { InternalTheme } from '../../types';
|
3 | declare type BaseProps = {
|
4 | theme: InternalTheme;
|
5 | disabled?: boolean;
|
6 | checked: boolean;
|
7 | };
|
8 | declare type SegmentedButtonProps = {
|
9 | checkedColor?: string;
|
10 | uncheckedColor?: string;
|
11 | } & BaseProps;
|
12 | export declare const getSegmentedButtonDensityPadding: ({ density, }: {
|
13 | density?: "small" | "regular" | "medium" | "high" | undefined;
|
14 | }) => number;
|
15 | export declare const getDisabledSegmentedButtonStyle: ({ theme, index, buttons, }: {
|
16 | theme: InternalTheme;
|
17 | buttons: {
|
18 | disabled?: boolean;
|
19 | }[];
|
20 | index: number;
|
21 | }) => ViewStyle;
|
22 | export declare const getSegmentedButtonBorderRadius: ({ segment, theme, }: {
|
23 | theme: InternalTheme;
|
24 | segment?: "first" | "last" | undefined;
|
25 | }) => ViewStyle;
|
26 | export declare const getSegmentedButtonColors: ({ theme, disabled, checked, checkedColor, uncheckedColor, }: SegmentedButtonProps) => {
|
27 | backgroundColor: string;
|
28 | borderColor: string;
|
29 | textColor: string;
|
30 | borderWidth: number;
|
31 | };
|
32 | export {};
|
33 |
|
\ | No newline at end of file |