index.tsx 480 B

1234567891011121314151617181920212223
  1. import React from 'react';
  2. import { Component } from './styled';
  3. export type Props = {
  4. absolute?: boolean;
  5. orientation?: 'vertical' | 'horizontal';
  6. variant?: 'fullWidth' | 'inset' | 'middle';
  7. light?: boolean;
  8. style?: Record<string, string>;
  9. };
  10. const Divider: React.FC<Props> = (props) => <Component {...props} />;
  11. Divider.defaultProps = {
  12. absolute: false,
  13. orientation: 'vertical',
  14. variant: 'fullWidth',
  15. light: false,
  16. style: {},
  17. };
  18. export default Divider;