OHIF-32: Wrapping React-select with our style requirements (#1529)
* Custom Select component * Including inpot section * Adding missing import sections on docz * Change cursor once is disabled * update date range color font
This commit is contained in:
1 parent
b183e78f47
commit
b7a72f5225
15 files changed
+221
-21880
No files matched your search
@@ -4,7 +4,7 @@ import Label from '../Label';
|
||||
import classnames from 'classnames';
|
||||
|
||||
const baseInputClasses =
|
||||
'shadow transition duration-300 appearance-none border rounded w-full py-2 px-3 text-sm text-gray-700 hover:border-gray-500 leading-tight focus:border-gray-500 focus:outline-none';
|
||||
'shadow transition duration-300 appearance-none border rounded w-full py-2 px-3 text-sm text-white hover:border-gray-500 leading-tight focus:border-gray-500 focus:outline-none';
|
||||
|
||||
const transparentClasses = {
|
||||
true: 'bg-transparent',
|
||||
|
||||
@@ -9,6 +9,12 @@ import Input from './';
|
||||
|
||||
# Input
|
||||
|
||||
## Import
|
||||
|
||||
```javascript
|
||||
import { Input } from '@ohfi/ui';
|
||||
```
|
||||
|
||||
## Basic usage
|
||||
|
||||
<Playground>
|
||||
|
||||
Reference in new issue
Block a user