<script>
// @flow
/** @jsx h */

export default {
  name: 'GenericLabel',
  functional: true,
  render(h: Function, { data, children }: Functional): Element {
    return (
      <label
        {...data}
        class="tao__form-label mb-1 text-left font-medium text-03 inline-block">
        { children }
      </label>
    );
  },
};
</script>
