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.

AbstractLabel.tsx 407B

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