Last change
on this file was bc20307, checked in by Tasevski2 <39170279+Tasevski2@…>, 3 years ago |
Push before video
|
-
Property mode
set to
100644
|
File size:
467 bytes
|
Line | |
---|
1 | import styled from 'styled-components';
|
---|
2 | import Select from '@mui/material/Select';
|
---|
3 | import { Typography } from '@mui/material';
|
---|
4 |
|
---|
5 | export const Dropdown = styled(Select).attrs((props) => ({
|
---|
6 | sx: {
|
---|
7 | width: props.width ?? '70%',
|
---|
8 | textAlign: 'center',
|
---|
9 | },
|
---|
10 | }))`
|
---|
11 | > div {
|
---|
12 | padding: 11px 32px 11px 9px;
|
---|
13 | }
|
---|
14 | `;
|
---|
15 |
|
---|
16 | export const DropdownItem = styled(Typography).attrs({
|
---|
17 | variant: 'h4',
|
---|
18 | })`
|
---|
19 | font-size: 1rem;
|
---|
20 | font-weight: 500;
|
---|
21 | margin-top: 5px;
|
---|
22 | padding: 5px;
|
---|
23 | `;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.