feat: add offer section
This commit is contained in:
@@ -1 +1,2 @@
|
||||
export { Button } from './button';
|
||||
export { Mark } from './mark';
|
||||
|
||||
1
src/shared/ui/mark/index.ts
Normal file
1
src/shared/ui/mark/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export { default as Mark } from './mark';
|
||||
3
src/shared/ui/mark/mark.module.scss
Normal file
3
src/shared/ui/mark/mark.module.scss
Normal file
@@ -0,0 +1,3 @@
|
||||
.Mark {
|
||||
color: $color-orange;
|
||||
}
|
||||
14
src/shared/ui/mark/mark.tsx
Normal file
14
src/shared/ui/mark/mark.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
import s from './mark.module.scss';
|
||||
import { ReactNode } from 'react';
|
||||
|
||||
type MarkProps = {
|
||||
children: ReactNode;
|
||||
};
|
||||
|
||||
export default function Mark({ children }: MarkProps) {
|
||||
return (
|
||||
<>
|
||||
<span className={s.Mark}>{children}</span>
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user