Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

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. }