Usage

Step 1. Using Bootstrap CSS together (recommended)

Download bootstrap (opens in a new tab)

<link href="./bootstrap.min.css" rel="stylesheet"/>

You could remove Bootstrap's styles. All components support setting Bootstrap's default class names through **ClassName attributes.

Step 2. import required components as required

If the component does not have a CSS file, it can not be imported, or use own CSS.

import Input from 'funda-ui/Input';
import Textarea from 'funda-ui/Textarea';
import CascadingSelect from 'funda-ui/CascadingSelect';
 
// component styles
import 'funda-ui/CascadingSelect/index.css';

or

import { 
    Input,
    Textarea,
    CascadingSelect
} from 'funda-ui';
 
// component styles
import 'funda-ui/CascadingSelect/index.css';

or

const Input = require('funda-ui').Input;
const Textarea = require('funda-ui').Textarea;
const CascadingSelect = require('funda-ui').CascadingSelect;
 
// component styles
import 'funda-ui/CascadingSelect/index.css';