mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-09-20 14:39:34 +02:00
feat: change gif speed
This commit is contained in:
23
src/components/Separator.tsx
Normal file
23
src/components/Separator.tsx
Normal file
@@ -0,0 +1,23 @@
|
||||
import { Divider } from '@mui/material';
|
||||
import React from 'react';
|
||||
|
||||
type SeparatorProps = {
|
||||
backgroundColor: string;
|
||||
margin: string;
|
||||
};
|
||||
|
||||
export default function Separator({ backgroundColor, margin }: SeparatorProps) {
|
||||
return (
|
||||
<Divider
|
||||
orientation="horizontal"
|
||||
variant="fullWidth"
|
||||
className="my-4"
|
||||
sx={{
|
||||
backgroundColor: backgroundColor,
|
||||
height: '2px',
|
||||
marginTop: margin,
|
||||
marginBottom: margin
|
||||
}}
|
||||
/>
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user