"use strict";

import { StyleSheet, View } from "react-native";
import { useIOTheme } from "../../context";
import { IOColors } from "../../core/IOColors";
import { jsx as _jsx } from "react/jsx-runtime";
const DEFAULT_BORDER_SIZE = StyleSheet.hairlineWidth;

/**
Horizontal `Divider` component
 */
export const Divider = () => {
  const theme = useIOTheme();
  return /*#__PURE__*/_jsx(View, {
    style: {
      backgroundColor: IOColors[theme["divider-default"]],
      height: DEFAULT_BORDER_SIZE
    }
  });
};
//# sourceMappingURL=Divider.js.map