@crossed/ui
Version:
A universal & performant styling library for React Native, Next.js & React
23 lines (22 loc) • 553 B
JavaScript
import { jsx } from "react/jsx-runtime";
import { createStyles } from "@crossed/styled";
import { Text } from "../typography/Text";
const useCode = createStyles((t) => ({
root: {
base: {
// backgroundColor: t.colors.neutral[500],
paddingVertical: t.space.xs,
paddingHorizontal: t.space.md,
borderWidth: 1,
borderStyle: "solid",
borderRadius: 4
}
}
}));
const Code = (props) => {
return /* @__PURE__ */ jsx(Text, { ...props, style: useCode.root });
};
export {
Code
};
//# sourceMappingURL=Code.js.map