Skip to content

Instantly share code, notes, and snippets.

@pranaypatel512
Last active October 29, 2022 11:00
Show Gist options
  • Select an option

  • Save pranaypatel512/31d9a11b2095af86669dee0e2d7b3905 to your computer and use it in GitHub Desktop.

Select an option

Save pranaypatel512/31d9a11b2095af86669dee0e2d7b3905 to your computer and use it in GitHub Desktop.

Revisions

  1. pranaypatel512 revised this gist Oct 29, 2022. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion JetKiteButtonPreview
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,5 @@
    @Composable
    @Preview
    @Preview(uiMode = Configuration.UI_MODE_NIGHT_YES)
    fun JetKiteButtonPreview() {
    JetKiteTheme {
    Surface {
  2. pranaypatel512 revised this gist Oct 29, 2022. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion JetKiteButtonPreview
    Original file line number Diff line number Diff line change
    @@ -1,10 +1,11 @@
    @Composable
    @Preview
    @Preview(uiMode = Configuration.UI_MODE_NIGHT_YES)
    fun JetKiteButtonPreview() {
    JetKiteTheme {
    Surface {
    JetKiteButton(text = "Login") {
    }
    }
    }
    }
    }
  3. pranaypatel512 revised this gist Oct 29, 2022. 1 changed file with 6 additions and 2 deletions.
    8 changes: 6 additions & 2 deletions JetKiteButtonPreview
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,10 @@
    @Composable
    @Preview
    fun UberButtonPreview() {
    UberButton(text = "Book Ride") {
    fun JetKiteButtonPreview() {
    JetKiteTheme {
    Surface {
    JetKiteButton(text = "Login") {
    }
    }
    }
    }
  4. pranaypatel512 renamed this gist Oct 29, 2022. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  5. pranaypatel512 revised this gist Oct 29, 2022. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions UberBackButtonPreview
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,6 @@
    @Composable
    @Preview
    fun UberBackButtonPreview() {
    UberBackButton(iconId = R.drawable.baseline_arrow_back_24) { }
    fun UberButtonPreview() {
    UberButton(text = "Book Ride") {
    }
    }
  6. pranaypatel512 created this gist Oct 29, 2022.
    5 changes: 5 additions & 0 deletions UberBackButtonPreview
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    @Composable
    @Preview
    fun UberBackButtonPreview() {
    UberBackButton(iconId = R.drawable.baseline_arrow_back_24) { }
    }