2.0.11 • Published 4 months ago

@ptadmin/ui-components v2.0.11

Weekly downloads
-
License
-
Repository
-
Last release
4 months ago

UI Components library

This project contains a list of UI components that can be important a used in different applications

Installation

Using npm

npm i -s @ptadmin/ui-components

Getting started

Adding components to a project is done by simply importing the desired component using the following method:

import { COMPONENT_NAME } from '@ptadmin/ui-components';

Available Components

In the project directory, you can find the following components:

AutoComplete

The AutoComplete component is a normal text input enhanced by a panel of suggested options.

The widget is useful for setting the value of a single-line textbox in one of two types of scenarios:

  1. The value for the textbox must be chosen from a predefined set of values, e.g., a sport name field must contain a valid name.
  2. The textbox may contain any arbitrary value, but it is advantageous to suggest possible values to the user, e.g., an event name field may suggest similar or existing event names.

DateTimeDisplayer

The DateTimeDisplayer component receives a prop that represents an ISO 8601 format date and displayes it in a Day/Month/Year Hour:Minute:second string. This component is usually passed to Table as a prop to render dates in a row.

Link

the Link component generates links under a react-router context.

Switch

A switch input with an update handler function.

2.0.11

4 months ago

2.0.10

5 months ago

2.0.9

5 months ago

2.0.8

5 months ago

2.0.5

6 months ago

2.0.4

6 months ago

2.0.7

6 months ago

2.0.6

6 months ago

2.0.3

6 months ago

2.0.2

6 months ago

2.0.1

6 months ago

2.0.0

6 months ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago