feat: add input group prepend component.

This commit is contained in:
Ahmed Bouhuolia
2020-11-19 11:43:53 +02:00
parent e7f88d5786
commit b9e61461ae
7 changed files with 95 additions and 44 deletions

View File

@@ -0,0 +1,9 @@
import React from 'react';
export default function InputPrependText({ text, children }) {
return (
<div class="input-group-prepend">
<span class="input-group-text">{text}</span>
</div>
);
}