@hitachivantara/uikit-react-core
Version:
Core React components for the NEXT Design System.
38 lines (37 loc) • 745 B
JavaScript
import { createClasses } from "@hitachivantara/uikit-react-utils";
import { theme } from "@hitachivantara/uikit-styles";
const { useClasses, staticClasses } = createClasses(
"HvQueryBuilder-DateTimeValue",
{
root: {
display: "flex",
flexDirection: "column"
},
row: {},
vertical: {
display: "flex",
flexDirection: "column"
},
horizontal: {
display: "flex",
"& > div:not(:last-child)": {
marginRight: theme.space.md
}
},
isMdDown: {
"& > div:not(:last-child)": {
marginRight: `calc(${theme.space.md} / 2)`
}
},
datePicker: {
flex: 1
},
timePicker: {
flex: 1
}
}
);
export {
staticClasses,
useClasses
};