@crossed/ui
Version:
A universal & performant styling library for React Native, Next.js & React
51 lines • 1.51 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 { type ViewProps } from 'react-native';
export declare const useDivider: {
readonly divider: import("@crossed/styled").CrossedMethods<{
readonly base: {
readonly borderStyle: "solid";
};
}>;
readonly primary: import("@crossed/styled").CrossedMethods<{
readonly base: {
readonly borderColor: "#EBEAFE" | "#242547";
};
}>;
readonly secondary: import("@crossed/styled").CrossedMethods<{
readonly base: {
readonly borderColor: "#2D2D61" | "#AEB6CE";
};
}>;
readonly vertical: import("@crossed/styled").CrossedMethods<{
readonly base: {
readonly borderLeftWidth: 1;
readonly height: "100%";
};
}>;
readonly horizontal: import("@crossed/styled").CrossedMethods<{
readonly base: {
readonly borderTopWidth: 1;
readonly width: "100%";
};
}>;
};
export type DividerProps = ViewProps & {
/**
* Direction of divider
*/
direction?: 'horizontal' | 'vertical';
/**
* Color of divider
*/
color?: 'primary' | 'secondary';
};
export declare const Divider: {
({ direction, color, ...props }: DividerProps): import("react/jsx-runtime").JSX.Element;
displayName: string;
};
//# sourceMappingURL=Divider.d.ts.map