CHANGED: Types
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
import React, { forwardRef, PropsWithChildren } from 'react';
|
||||
|
||||
interface DividerProps extends PropsWithChildren<any> {
|
||||
orientation?: 'vertical' | 'horizontal';
|
||||
variant?: 'full-width' | 'inset' | 'middle-inset';
|
||||
}
|
||||
import React, { forwardRef } from 'react';
|
||||
import { DividerProps } from './divider.types';
|
||||
|
||||
const Divider = forwardRef<HTMLHRElement, DividerProps>(
|
||||
({ orientation, variant, ...props }, ref) => (
|
||||
|
||||
Reference in New Issue
Block a user