saleor-dashboard/src/components/ButtonWithSelect/styles.ts
Jakub Majorek ab4c897b2a
Add dashboard extensions (#1292)
* Fix app embed

* initial setup

* Create ButtonWithSelect component

* Use context

* Use dialog

* Handle app-bridge actions

* Code adjustments, bump packages

* Fix tests

* Fix schema formatting

* Send response

* Use latest package versions
2021-08-20 15:58:53 +02:00

22 lines
364 B
TypeScript

import { makeStyles } from "@saleor/macaw-ui";
const ITEM_HEIGHT = 48;
export const useStyles = makeStyles(
theme => ({
popper: {
marginTop: theme.spacing(1),
zIndex: 2
},
paper: {
maxHeight: ITEM_HEIGHT * 4.5,
overflowY: "scroll"
},
buttonIcon: {
margin: 0
}
}),
{
name: "ButtonWithSelect"
}
);