diff --git a/src/components/atoms/DropDownList/DropDownList.styles.module.scss b/src/components/atoms/DropDownList/DropDownList.styles.module.scss new file mode 100644 index 0000000..165509a --- /dev/null +++ b/src/components/atoms/DropDownList/DropDownList.styles.module.scss @@ -0,0 +1,27 @@ +@import 'src/scss/mixins'; + +.drop-down-list, +.container { + @include flex-center; +} + +.drop-down-list { + width: 260px; + height: 50px; + border: 3px solid $color-base; + margin: 15px; + border-radius: 20px; +} + +.header { + font-size: 28px; + color: $color-base; + font-family: $font-inter; + font-weight: 500; +} + +.container { + min-width: 260px; + flex-flow: wrap; + color: $color-background-black; +} diff --git a/src/components/atoms/DropDownList/DropDownList.tsx b/src/components/atoms/DropDownList/DropDownList.tsx new file mode 100644 index 0000000..2a1b9c3 --- /dev/null +++ b/src/components/atoms/DropDownList/DropDownList.tsx @@ -0,0 +1,23 @@ +import React from 'react' + +import cx from 'classnames' + +import css from './DropDownList.styles.module.scss' + +export type DropDownListProps = { + className?: string + headerClassName?: string + containerClassName?: string + header?: string +} + +export const DropDownList = ({ className, header, headerClassName, containerClassName }: DropDownListProps) => { + return ( +