@crossed/ui
Version:
A universal & performant styling library for React Native, Next.js & React
39 lines • 1.61 kB
TypeScript
/**
* Copyright (c) Paymium.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root of this projects source tree.
*/
import { Orientation } from '@crossed/primitive';
import { type XBoxProps } from '../../layout/XBox';
import { View } from 'react-native';
import React from 'react';
export type ButtonGroupProps = XBoxProps & {
orientation?: Orientation;
};
export declare const ButtonGroup: React.ForwardRefExoticComponent<(Omit<{
pressable: true;
} & {
children?: React.ReactNode | undefined;
} & {
style?: import("@crossed/styled").CrossedMethods<any>;
space?: null | keyof typeof import("../..").gapStyles;
center?: boolean;
justifyContent?: keyof typeof import("../..").justifyContentStyle;
alignItems?: keyof typeof import("../..").alignItemsStyle;
alignSelf?: keyof typeof import("../..").alignSelfStyle;
} & Omit<import("react-native").PressableProps, "children" | "style"> & React.RefAttributes<View> & {
orientation?: Orientation;
}, "ref"> | Omit<{
pressable?: never | false;
} & {
style?: import("@crossed/styled").CrossedMethods<any>;
space?: null | keyof typeof import("../..").gapStyles;
center?: boolean;
justifyContent?: keyof typeof import("../..").justifyContentStyle;
alignItems?: keyof typeof import("../..").alignItemsStyle;
alignSelf?: keyof typeof import("../..").alignSelfStyle;
} & Omit<import("react-native").ViewProps, "style"> & React.RefAttributes<View> & {
orientation?: Orientation;
}, "ref">) & React.RefAttributes<View>>;
//# sourceMappingURL=Group.d.ts.map