2018-05-22 19:44:40 +00:00
|
|
|
// @flow
|
2020-04-23 13:45:36 +00:00
|
|
|
|
2018-05-22 19:44:40 +00:00
|
|
|
import { Component } from 'react';
|
|
|
|
|
|
|
|
export type Props = {
|
|
|
|
|
2020-05-18 11:54:55 +00:00
|
|
|
/**
|
|
|
|
* An SVG icon to be rendered as the content of the label.
|
|
|
|
*/
|
|
|
|
icon: Component<any>,
|
|
|
|
|
2018-05-22 19:44:40 +00:00
|
|
|
/**
|
2020-04-23 13:45:36 +00:00
|
|
|
* String or component that will be rendered as the label itself.
|
2018-05-22 19:44:40 +00:00
|
|
|
*/
|
2020-05-18 11:54:55 +00:00
|
|
|
label: string
|
2018-05-22 19:44:40 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Abstract class for the {@code CircularLabel} component.
|
|
|
|
*/
|
2018-09-11 10:16:01 +00:00
|
|
|
export default class AbstractCircularLabel<P: Props, S: *>
|
|
|
|
extends Component<P, S> {
|
2018-05-22 19:44:40 +00:00
|
|
|
|
|
|
|
}
|