0.2.0 • Published 3 years ago
buttontesthami v0.2.0
checkone
Project setup
npm install buttontesthami
import globally
import ButtonTest from 'buttontesthami'
import 'buttontesthami/dist/buttontesthami.css'
const app = createApp(App)
app.component('ButtonTest',ButtonTest)
import locally
import ButtonTest from 'buttontesthami';
import 'buttontesthami/dist/buttontesthami.css';
export default {
components: {
ButtonTest
},
call in the format
<ButtonTest :rounded="true" color="red" size="large" text="check"></ButtonTest>
parameters of the tag
:rounded="true" => the angles of the button will be rounded.
:rounded="false" => the angles of the button will be sharp.
color="red" => the color of button will be red.
color="green" => the color of button will be green.
color="blue" => the color of button will be blue.
size="small" => the font size of button will be 12px.
size="default" => the font size of button will be 14px.
size="large" => the font size of button will be 16px.
text="check" => whatever is written in the "" will be printed. Now check word will be printed.