onecart-ui
Version:
Cross-platform React and React Native component library with white-label support
26 lines (22 loc) • 602 B
text/typescript
// Components
export { Button } from "./components/Button";
export { Display, Heading, Body, Utility } from "./components/Typography";
export { Icon, IconList, icons } from "./components/Icon";
// Types
export type {
ButtonProps,
ButtonType,
ButtonSize,
ButtonState,
} from "./types/Button";
export type { IconProps, IconData, IconListProps } from "./components/Icon";
// Theme
export { ThemeProvider, useTheme } from "./theme/ThemeProvider";
export {
defaultTheme,
type Theme,
type ThemeColors,
type ThemeSpacing,
type ThemeBorderRadius,
type ThemeTypography,
} from "./theme";