You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

AbstractCircularLabel.js 442B

123456789101112131415161718192021222324
  1. // @flow
  2. import { Component } from 'react';
  3. export type Props = {
  4. /**
  5. * An SVG icon to be rendered as the content of the label.
  6. */
  7. icon: Component<any>,
  8. /**
  9. * String or component that will be rendered as the label itself.
  10. */
  11. label: string
  12. };
  13. /**
  14. * Abstract class for the {@code CircularLabel} component.
  15. */
  16. export default class AbstractCircularLabel<P: Props, S: *>
  17. extends Component<P, S> {
  18. }