@yamada-ui/react
Version:
React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion
40 lines (38 loc) • 674 B
JavaScript
import { defineComponentStyle } from "../../core/system/config.js";
//#region src/components/slide/slide.style.ts
const slideStyle = defineComponentStyle({
base: {
position: "fixed",
zIndex: "guldo"
},
props: { placement: {
"block-end": {
bottom: "0",
left: "0",
right: "0",
w: "vw"
},
"block-start": {
left: "0",
right: "0",
top: "0",
w: "vw"
},
"inline-end": {
bottom: "0",
h: "dvh",
right: "0",
top: "0"
},
"inline-start": {
bottom: "0",
h: "dvh",
left: "0",
top: "0"
}
} },
defaultProps: { placement: "inline-end" }
});
//#endregion
export { slideStyle };
//# sourceMappingURL=slide.style.js.map