Small React UI Library
Currently provides 7 components and 20 gradients
Storybook
Available at https://kocisov.github.io/fleko
Installation
peerDependencies -> react, styled-components
# npm
npm install --save react fleko styled-components
# yarn
yarn add react fleko styled-components
Usage
import React, { useState } from 'react'
import { Alert, Gradients, Text } from 'fleko'
export default function View() {
const [isVisible, setIsVisible] = useState(true)
render() {
return (
<Alert
visible={isVisible}
background={Gradients.sunKist}
icon={<Icon size={20} color="#fff" />}
>
<Text semiBold>Application is running</Text>
</Alert>
)
}
}