mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
tags
This commit is contained in:
parent
163a46ace2
commit
b8b1e49d94
11 changed files with 176 additions and 48 deletions
14
src/components/containers/TagField/index.tsx
Normal file
14
src/components/containers/TagField/index.tsx
Normal file
|
@ -0,0 +1,14 @@
|
|||
import React, {FC, HTMLAttributes} from 'react';
|
||||
import * as styles from './styles.scss';
|
||||
|
||||
type IProps = HTMLAttributes<HTMLDivElement> & {}
|
||||
|
||||
const TagField: FC<IProps> = ({
|
||||
children,
|
||||
}) => (
|
||||
<div className={styles.wrap}>
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
|
||||
export { TagField };
|
7
src/components/containers/TagField/styles.scss
Normal file
7
src/components/containers/TagField/styles.scss
Normal file
|
@ -0,0 +1,7 @@
|
|||
.wrap {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: flex-start;
|
||||
flex-wrap: wrap;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue