@crossed/demo
Version:
A universal & performant styling library for React Native, Next.js & React
22 lines (21 loc) • 508 B
JavaScript
import { jsx } from "react/jsx-runtime";
import { styled } from "@crossed/styled";
import { TextInput } from "react-native";
const Input = styled(TextInput, {
className: [
"px-3 py-2",
"border border-neutral-700",
"bg-neutral-800",
"rounded-md"
],
props: {
placeholderTextColor: "$neutral-600"
}
});
const PropsPropertyDemo = () => {
return /* @__PURE__ */ jsx(Input, { placeholder: "Placeholder" });
};
export {
PropsPropertyDemo
};
//# sourceMappingURL=PropsProperty.js.map