react-native-global-styler
Version:
Lightweight and developer-friendly React Native styling toolkit with prebuilt styled components and a powerful useGlobalStyler hook for shorthand props like m_10, radius_12, resize_cover, and more.
13 lines (10 loc) • 403 B
text/typescript
import BorderStyles, { BorderMatcher } from "./base/BorderStyles";
import FlexStyles, { FlexMatcher } from "./base/FlexStyles";
import LayoutStyles, { LayoutMatcher } from "./base/LayoutStyles";
type BaseGlobalStyles = FlexStyles & BorderStyles & LayoutStyles;
export const BaseMatcher = {
...FlexMatcher,
...BorderMatcher,
...LayoutMatcher,
}
export default BaseGlobalStyles;