Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ class CreateNewAppointment extends Component {
| **colorTheme** | _string/color_ | #16a45f | Color for componet |
| **isSelectSingle** | _Bool_ | false | Selelect only one option |
| **showSearchBox** | _Bool_ | true | Show or hide search field |
| **cancelButtonText** | _string_ | Hủy | Cancel button text title |
| **selectButtonText** | _String_ | Chọn | Select button text title |
| **searchPlaceHolderText** | _String_ | Nhập vào từ khóa | Placeholder text for search field |
| **listEmptyTitle** | _String_ | Không tìm thấy lựa chọn phù hợp | Title to show when there's no item to be render |
| **cancelButtonText** | _string_ | Batal | Cancel button text title |
| **selectButtonText** | _String_ | Pilih | Select button text title |
| **searchPlaceHolderText** | _String_ | Cari | Placeholder text for search field |
| **listEmptyTitle** | _String_ | Data Tidak Ada | Title to show when there's no item to be render |
| **defaultFontName** | _String_ | none | Set custom font for all component |
| **selectedTitleStyle** | _Object_ | none | Set custom style for display selected title text |
| **buttonTextStyle** | _Object_ | none | Set custom button text style |
Expand Down
8 changes: 4 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ const INIT_HEIGHT = height * 0.6;
// create a component
class Select2 extends Component {
static defaultProps = {
cancelButtonText: 'Hủy',
selectButtonText: 'Chọn',
searchPlaceHolderText: "Nhập vào từ khóa",
listEmptyTitle: 'Không tìm thấy lựa chọn phù hợp',
cancelButtonText: 'Batal',
selectButtonText: 'Pilih',
searchPlaceHolderText: "Cari",
listEmptyTitle: 'Data Tidak Ada',
colorTheme: '#16a45f',
buttonTextStyle: {},
buttonStyle: {},
Expand Down