0.2.2 • Published 7 months ago

@athlera/react v0.2.2

Weekly downloads
-
License
MIT
Repository
-
Last release
7 months ago

@athlera/react

Create UI for tool

Installation

npm install @athlera/react

Usage

import { createToolUI } from '@athlera/react';

const weatherToolUI = createToolUI({
  toolName: 'getWeatherInformation',
  render: () => <div>Weather tool</div>,
});

export default weatherToolUI;

Add it to your app

import React from 'react';

import WeatherToolUI from './WeatherToolUI';

const App = () => {
  return (
    <div>
      <WeatherToolUI />
    </div>
  );
};
0.2.2

7 months ago

0.2.1

8 months ago

0.2.0

9 months ago

0.1.2

9 months ago

0.1.1

9 months ago

0.1.0

9 months ago

0.0.0

9 months ago