index.tsx 486 B

123456789101112131415161718192021222324252627
  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, any>;
  9. }
  10. const Divider: React.FC<Props> = props => (
  11. <Component
  12. {...props}
  13. />
  14. );
  15. Divider.defaultProps = {
  16. absolute: false,
  17. orientation: 'vertical',
  18. variant: 'fullWidth',
  19. light: false,
  20. style: {},
  21. };
  22. export default Divider;