@audira/carbon-react-native
Version:
Build React Native apps with component and shared patterns using Carbon
30 lines • 1.41 kB
TypeScript
import { StyleSheet as RNStyleSheet } from 'react-native';
import { create as _create } from './create';
import { use as _use } from './use';
export declare namespace CarbonStyleSheet {
const absoluteFill: import("react-native").RegisteredStyle<RNStyleSheet.AbsoluteFillStyle>;
const absoluteFillObject: RNStyleSheet.AbsoluteFillStyle;
const compose: typeof RNStyleSheet.compose;
/**
* This is a namespace for breakpoint constant names for the StyleSheet.create()
* Use `Breakpoint` from the `carbon-react-native-elements` to get the actual breakpoint value instead
*/
const breakpoint: {
readonly small: "small";
readonly medium: "medium";
readonly large: "large";
readonly x_large: "x_large";
readonly max: "max";
};
/**
* This is a namespace for color constant names for the StyleSheet.create()
* Use `Color` from the `carbon-react-native-elements` to get the actual color value instead
*/
const color: Record<import("@audira/carbon-react-native-elements").ColorToken, import("@audira/carbon-react-native-elements").ColorToken>;
const create: typeof _create;
const flatten: typeof RNStyleSheet.flatten;
const hairlineWidth: number;
const setStyleAttributePreprocessor: typeof RNStyleSheet.setStyleAttributePreprocessor;
const use: typeof _use;
}
//# sourceMappingURL=index.d.ts.map